com.dtolabs.rundeck.core
Class NodesetFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.dtolabs.rundeck.core.execution.dispatch.DispatcherException
              extended by com.dtolabs.rundeck.core.NodesetFailureException
All Implemented Interfaces:
java.io.Serializable

public class NodesetFailureException
extends DispatcherException

NodesetFailureException indicates some nodes failed during a multi-node dispatch.

See Also:
Serialized Form

Field Summary
static int EXIT_CODE
          Exit code for a Nodeset failure exception
 
Constructor Summary
NodesetFailureException(java.util.Collection<java.lang.String> nodeset)
          Create NodesetFailureException
NodesetFailureException(java.util.Map<java.lang.String,NodeStepResult> failures)
          Create NodesetFailureException
 
Method Summary
 java.util.Map<java.lang.String,NodeStepResult> getNodeFailures()
           
 java.util.Collection<java.lang.String> getNodeset()
          Get the collection of node names
 
Methods inherited from class com.dtolabs.rundeck.core.execution.dispatch.DispatcherException
getNode, getResultMap, setNode, setResultMap
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXIT_CODE

public static final int EXIT_CODE
Exit code for a Nodeset failure exception

See Also:
Constant Field Values
Constructor Detail

NodesetFailureException

public NodesetFailureException(java.util.Collection<java.lang.String> nodeset)
Create NodesetFailureException

Parameters:
nodeset - node names

NodesetFailureException

public NodesetFailureException(java.util.Map<java.lang.String,NodeStepResult> failures)
Create NodesetFailureException

Parameters:
nodeset - node names
Method Detail

getNodeset

public java.util.Collection<java.lang.String> getNodeset()
Get the collection of node names

Returns:
collection of node names

getNodeFailures

public java.util.Map<java.lang.String,NodeStepResult> getNodeFailures()