com.dtolabs.rundeck.core.dispatcher
Interface DispatcherResult

All Known Subinterfaces:
QueuedItemResult
All Known Implementing Classes:
QueuedItemResultImpl

public interface DispatcherResult

DispatcherResult returns request status, and any message from the server or about the request.


Method Summary
 java.lang.String getMessage()
          Return status message of the request, either success or failure message depending on the result of isSuccessful().
 boolean isSuccessful()
          Return true if the request was successful
 

Method Detail

isSuccessful

boolean isSuccessful()
Return true if the request was successful

Returns:
true if success, otherwise false

getMessage

java.lang.String getMessage()
Return status message of the request, either success or failure message depending on the result of isSuccessful().

Returns:
success or failure message.