org.mule.tck.probe.file
Class FileExists
java.lang.Object
org.mule.tck.probe.file.FileExists
- All Implemented Interfaces:
- Probe
public class FileExists
- extends Object
- implements Probe
Checks that a given file exists in the file system
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 |
FileExists
public FileExists(File target)
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.