org.mule.transport.sftp.dataintegrity
Class SftpFilePresentProbe
java.lang.Object
org.mule.transport.sftp.dataintegrity.SftpFilePresentProbe
- All Implemented Interfaces:
- Probe
public class SftpFilePresentProbe
- extends Object
- implements Probe
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 |
SftpFilePresentProbe
public SftpFilePresentProbe(SftpClient sftpClient,
String dir,
String filename)
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-2012 MuleSoft, Inc.. All Rights Reserved.