Class Step
- All Implemented Interfaces:
Serializable, Cloneable
This represents a step in a cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThis specifies what action to take when the cluster step fails.The Hadoop job configuration of the cluster step.getId()The identifier of the cluster step.getName()The name of the cluster step.The current execution status details of the cluster step.inthashCode()voidsetActionOnFailure(ActionOnFailure actionOnFailure) This specifies what action to take when the cluster step fails.voidsetActionOnFailure(String actionOnFailure) This specifies what action to take when the cluster step fails.voidsetConfig(HadoopStepConfig config) The Hadoop job configuration of the cluster step.voidThe identifier of the cluster step.voidThe name of the cluster step.voidsetStatus(StepStatus status) The current execution status details of the cluster step.toString()Returns a string representation of this object; useful for testing and debugging.withActionOnFailure(ActionOnFailure actionOnFailure) This specifies what action to take when the cluster step fails.withActionOnFailure(String actionOnFailure) This specifies what action to take when the cluster step fails.withConfig(HadoopStepConfig config) The Hadoop job configuration of the cluster step.The identifier of the cluster step.The name of the cluster step.withStatus(StepStatus status) The current execution status details of the cluster step.
-
Constructor Details
-
Step
public Step()
-
-
Method Details
-
setId
The identifier of the cluster step.
- Parameters:
id- The identifier of the cluster step.
-
getId
The identifier of the cluster step.
- Returns:
- The identifier of the cluster step.
-
withId
-
setName
The name of the cluster step.
- Parameters:
name- The name of the cluster step.
-
getName
-
withName
-
setConfig
The Hadoop job configuration of the cluster step.
- Parameters:
config- The Hadoop job configuration of the cluster step.
-
getConfig
The Hadoop job configuration of the cluster step.
- Returns:
- The Hadoop job configuration of the cluster step.
-
withConfig
The Hadoop job configuration of the cluster step.
- Parameters:
config- The Hadoop job configuration of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setActionOnFailure
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- See Also:
-
getActionOnFailure
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Returns:
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- See Also:
-
withActionOnFailure
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setActionOnFailure
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- See Also:
-
withActionOnFailure
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
- Parameters:
actionOnFailure- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The current execution status details of the cluster step.
- Parameters:
status- The current execution status details of the cluster step.
-
getStatus
The current execution status details of the cluster step.
- Returns:
- The current execution status details of the cluster step.
-
withStatus
The current execution status details of the cluster step.
- Parameters:
status- The current execution status details of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-