org.mule.tck.probe.file
Class FileDoesNotExists

java.lang.Object
  extended by org.mule.tck.probe.file.FileDoesNotExists
All Implemented Interfaces:
Probe

public class FileDoesNotExists
extends Object
implements Probe

Checks that a given file is not present in the file system


Constructor Summary
FileDoesNotExists(File target)
           
 
Method Summary
 String describeFailure()
          Describes the cause of the criteria failure for further analysis.
 boolean isSatisfied()
          Indicates wheter or not the specified criteria was met or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDoesNotExists

public FileDoesNotExists(File target)
Method Detail

isSatisfied

public boolean isSatisfied()
Description copied from interface: Probe
Indicates wheter or not the specified criteria was met or not.

Specified by:
isSatisfied in interface Probe
Returns:
true if the criteria is satisfied.

describeFailure

public String describeFailure()
Description copied from interface: Probe
Describes the cause of the criteria failure for further analysis.

Specified by:
describeFailure in interface Probe
Returns:
the error message.


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.