org.mule.tck.probe
Interface Probe

All Known Implementing Classes:
GreeterNotNull, SftpFilePresentProbe

public interface Probe

A probe indicates whether the state of the system satisfies a given criteria


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.
 

Method Detail

isSatisfied

boolean isSatisfied()
Indicates wheter or not the specified criteria was met or not.

Returns:
true if the criteria is satisfied.

describeFailure

String describeFailure()
Describes the cause of the criteria failure for further analysis.

Returns:
the error message.


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