com.dtolabs.rundeck.core.tasks.dispatch
Class NodeExecutionStatusTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.dtolabs.rundeck.core.tasks.dispatch.NodeExecutionStatusTask
All Implemented Interfaces:
java.lang.Cloneable

public class NodeExecutionStatusTask
extends org.apache.tools.ant.Task

NodeExecutionStatus is an internal task used when executing Parallel dispatches to report success when execution on a node completes. It is used by com.dtolabs.rundeck.core.cli.DefaultNodeDispatcher to collate the set of nodes that failed when executing tasks in parallel.


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
NodeExecutionStatusTask()
           
 
Method Summary
 void execute()
           
 NodeDispatchStatusListener getNodeDispatchStatusListener()
           
 java.lang.String getNodeName()
           
 java.lang.String getRefId()
           
 boolean isFailOnError()
           
 void setFailOnError(boolean failOnError)
           
 void setNodeDispatchStatusListener(NodeDispatchStatusListener nodeDispatchStatusListener)
           
 void setNodeName(java.lang.String nodeName)
           
 void setRefId(java.lang.String refId)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeExecutionStatusTask

public NodeExecutionStatusTask()
Method Detail

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task

getRefId

public java.lang.String getRefId()

setRefId

public void setRefId(java.lang.String refId)

getNodeDispatchStatusListener

public NodeDispatchStatusListener getNodeDispatchStatusListener()

setNodeDispatchStatusListener

public void setNodeDispatchStatusListener(NodeDispatchStatusListener nodeDispatchStatusListener)

getNodeName

public java.lang.String getNodeName()

setNodeName

public void setNodeName(java.lang.String nodeName)

isFailOnError

public boolean isFailOnError()

setFailOnError

public void setFailOnError(boolean failOnError)