org.mule.transport.sftp.dataintegrity
Class SftpFilePresentProbe

java.lang.Object
  extended by org.mule.transport.sftp.dataintegrity.SftpFilePresentProbe
All Implemented Interfaces:
Probe

public class SftpFilePresentProbe
extends Object
implements Probe


Constructor Summary
SftpFilePresentProbe(SftpClient sftpClient, String dir, String filename)
           
 
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

SftpFilePresentProbe

public SftpFilePresentProbe(SftpClient sftpClient,
                            String dir,
                            String filename)
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-2012 MuleSoft, Inc.. All Rights Reserved.