|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dtolabs.rundeck.core.execution.workflow.NodeRecorder
public class NodeRecorder
NodeRecorder stores success/failure node list
Constructor Summary | |
---|---|
NodeRecorder()
|
Method Summary | |
---|---|
java.util.HashMap<java.lang.String,NodeStepResult> |
getFailedNodes()
Return the set of failed nodes |
java.util.HashSet<java.lang.String> |
getMatchedNodes()
Return the set of matched nodes |
java.util.HashSet<java.lang.String> |
getSuccessfulNodes()
Returns the matched nodes less the failed nodes. |
boolean |
isSuccess()
Return true if successful |
void |
matchedNodes(java.util.Collection<java.lang.String> names)
Called with full list of matched nodes prior to execution. |
void |
nodesFailed(java.util.Map<java.lang.String,NodeStepResult> failures)
Called with a map of node names to failures. |
void |
nodesSucceeded()
Called if no nodes failed during execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeRecorder()
Method Detail |
---|
public void nodesFailed(java.util.Map<java.lang.String,NodeStepResult> failures)
FailedNodesListener
nodesFailed
in interface FailedNodesListener
public void nodesSucceeded()
FailedNodesListener
nodesSucceeded
in interface FailedNodesListener
public void matchedNodes(java.util.Collection<java.lang.String> names)
FailedNodesListener
matchedNodes
in interface FailedNodesListener
public java.util.HashSet<java.lang.String> getSuccessfulNodes()
public java.util.HashMap<java.lang.String,NodeStepResult> getFailedNodes()
public boolean isSuccess()
public java.util.HashSet<java.lang.String> getMatchedNodes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |