com.dtolabs.rundeck.core.execution.utils
Class ResponderTask.ResponderResult

java.lang.Object
  extended by com.dtolabs.rundeck.core.execution.utils.ResponderTask.ResponderResult
All Implemented Interfaces:
ResponderTask.SuccessResult
Enclosing class:
ResponderTask

public static final class ResponderTask.ResponderResult
extends java.lang.Object
implements ResponderTask.SuccessResult

Result from a responder execution, which contains success, the original Responder, a failure reason if unsuccessful and a boolean indicating if the process was interrupted.


Method Summary
 java.lang.String getFailureReason()
           
 Responder getResponder()
           
 boolean isInterrupted()
           
 boolean isSuccess()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFailureReason

public java.lang.String getFailureReason()

isSuccess

public boolean isSuccess()
Specified by:
isSuccess in interface ResponderTask.SuccessResult

isInterrupted

public boolean isInterrupted()

getResponder

public Responder getResponder()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object