Class StepSummary
- All Implemented Interfaces:
Serializable
,Cloneable
The summary of the cluster step.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
This 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.int
hashCode()
void
setActionOnFailure
(ActionOnFailure actionOnFailure) This specifies what action to take when the cluster step fails.void
setActionOnFailure
(String actionOnFailure) This specifies what action to take when the cluster step fails.void
setConfig
(HadoopStepConfig config) The Hadoop job configuration of the cluster step.void
The identifier of the cluster step.void
The name of the cluster step.void
setStatus
(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
-
StepSummary
public StepSummary()
-
-
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
The identifier of the cluster step.
- Parameters:
id
- The identifier of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name of the cluster step.
- Parameters:
name
- The name of the cluster step.
-
getName
The name of the cluster step.
- Returns:
- The name of the cluster step.
-
withName
The name of the cluster step.
- Parameters:
name
- The name of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-