java.lang.Object
org.elasticsearch.xpack.core.ilm.Step
- Direct Known Subclasses:
AsyncActionStep,AsyncWaitStep,ClusterStateActionStep,ClusterStateWaitStep,ErrorStep,PhaseCompleteStep,TerminalPolicyStep
Represents one part of the execution of a
LifecycleAction.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Step.StepKeygetCurrentStepKey(LifecycleExecutionState lifecycleState) Retrieves the currentStep.StepKeyfrom the lifecycle state.final Step.StepKeygetKey()inthashCode()abstract booleanIndicates if the step can be automatically retried when it encounters an execution error.toString()
-
Constructor Details
-
Step
-
-
Method Details
-
getCurrentStepKey
Retrieves the currentStep.StepKeyfrom the lifecycle state. Note that it is illegal for the step to be set with the phase and/or action unset, or for the step to be unset with the phase and/or action set. All three settings must be either present or missing.- Parameters:
lifecycleState- the index custom data to extract theStep.StepKeyfrom.
-
getKey
-
getNextStepKey
-
isRetryable
public abstract boolean isRetryable()Indicates if the step can be automatically retried when it encounters an execution error. -
hashCode
public int hashCode() -
equals
-
toString
-