com.dtolabs.rundeck.core
Class NodesetFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dtolabs.rundeck.core.execution.dispatch.DispatcherException
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 |
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 |
EXIT_CODE
public static final int EXIT_CODE
- Exit code for a Nodeset failure exception
- See Also:
- Constant Field Values
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
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()