Package com.dtolabs.rundeck.core.jobs
Class JobRefCommandBase
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.BaseExecutionItem
-
- com.dtolabs.rundeck.core.jobs.JobRefCommand
-
- com.dtolabs.rundeck.core.jobs.JobRefCommandBase
-
- All Implemented Interfaces:
HandlerExecutionItem
,HasFailureHandler
,HasLoggingFilterConfiguration
,StepExecutionItem
,NodeStepExecutionItem
,JobExecutionItem
- Direct Known Subclasses:
JobReferenceItem
public class JobRefCommandBase extends JobRefCommand implements HasFailureHandler
JobRefCommandBase implementation returns a null value for jobIdentifier, can be subclassed.
-
-
Field Summary
-
Fields inherited from interface com.dtolabs.rundeck.core.jobs.JobExecutionItem
STEP_EXECUTION_TYPE
-
-
Constructor Summary
Constructors Constructor Description JobRefCommandBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getArgs()
StepExecutionItem
getFailureHandler()
java.lang.String
getJobIdentifier()
java.lang.String
getNodeFilter()
java.lang.Boolean
getNodeIntersect()
java.lang.Boolean
getNodeKeepgoing()
java.lang.String
getNodeRankAttribute()
java.lang.Boolean
getNodeRankOrderAscending()
java.lang.Integer
getNodeThreadcount()
java.lang.String
getUuid()
java.lang.Boolean
isChildNodes()
java.lang.Boolean
isFailOnDisable()
java.lang.Boolean
isIgnoreNotifications()
java.lang.Boolean
isImportOptions()
boolean
isKeepgoingOnSuccess()
boolean
isNodeStep()
java.lang.Boolean
isUseName()
-
Methods inherited from class com.dtolabs.rundeck.core.jobs.JobRefCommand
getNodeStepType, getProject, getType
-
Methods inherited from class com.dtolabs.rundeck.core.execution.BaseExecutionItem
getFilterConfigurations, getLabel, setLabel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.StepExecutionItem
getLabel
-
-
-
-
Method Detail
-
getJobIdentifier
public java.lang.String getJobIdentifier()
- Specified by:
getJobIdentifier
in interfaceJobExecutionItem
-
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interfaceJobExecutionItem
-
getArgs
public java.lang.String[] getArgs()
- Specified by:
getArgs
in interfaceJobExecutionItem
-
isNodeStep
public boolean isNodeStep()
- Specified by:
isNodeStep
in interfaceJobExecutionItem
- Specified by:
isNodeStep
in interfaceNodeStepExecutionItem
- Returns:
- true if the step item is a node step
-
getFailureHandler
public StepExecutionItem getFailureHandler()
- Specified by:
getFailureHandler
in interfaceHasFailureHandler
- Returns:
- the
StepExecutionItem
to handle failure
-
isKeepgoingOnSuccess
public boolean isKeepgoingOnSuccess()
- Specified by:
isKeepgoingOnSuccess
in interfaceHandlerExecutionItem
- Returns:
- true if the handler result of success should indicate that the workflow should keep going
-
getNodeKeepgoing
public java.lang.Boolean getNodeKeepgoing()
- Specified by:
getNodeKeepgoing
in interfaceJobExecutionItem
-
getNodeFilter
public java.lang.String getNodeFilter()
- Specified by:
getNodeFilter
in interfaceJobExecutionItem
-
getNodeThreadcount
public java.lang.Integer getNodeThreadcount()
- Specified by:
getNodeThreadcount
in interfaceJobExecutionItem
-
getNodeRankAttribute
public java.lang.String getNodeRankAttribute()
- Specified by:
getNodeRankAttribute
in interfaceJobExecutionItem
-
getNodeRankOrderAscending
public java.lang.Boolean getNodeRankOrderAscending()
- Specified by:
getNodeRankOrderAscending
in interfaceJobExecutionItem
-
getNodeIntersect
public java.lang.Boolean getNodeIntersect()
- Specified by:
getNodeIntersect
in interfaceJobExecutionItem
-
isFailOnDisable
public java.lang.Boolean isFailOnDisable()
- Specified by:
isFailOnDisable
in interfaceJobExecutionItem
-
isImportOptions
public java.lang.Boolean isImportOptions()
- Specified by:
isImportOptions
in interfaceJobExecutionItem
-
isUseName
public java.lang.Boolean isUseName()
- Specified by:
isUseName
in interfaceJobExecutionItem
-
isIgnoreNotifications
public java.lang.Boolean isIgnoreNotifications()
- Specified by:
isIgnoreNotifications
in interfaceJobExecutionItem
-
isChildNodes
public java.lang.Boolean isChildNodes()
- Specified by:
isChildNodes
in interfaceJobExecutionItem
-
-