Class IndexLifecycleExplainResponse
java.lang.Object
org.elasticsearch.client.indexlifecycle.IndexLifecycleExplainResponse
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class IndexLifecycleExplainResponse
extends java.lang.Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,java.lang.Void>
PARSER
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAction()
long
getActionTime()
org.elasticsearch.common.unit.TimeValue
getAge()
java.lang.String
getFailedStep()
java.lang.String
getIndex()
long
getLifecycleDate()
java.lang.String
getPhase()
PhaseExecutionInfo
getPhaseExecutionInfo()
long
getPhaseTime()
java.lang.String
getPolicyName()
java.lang.String
getStep()
org.elasticsearch.common.bytes.BytesReference
getStepInfo()
long
getStepTime()
int
hashCode()
boolean
managedByILM()
static IndexLifecycleExplainResponse
newManagedIndexResponse(java.lang.String index, java.lang.String policyName, java.lang.Long lifecycleDate, java.lang.String phase, java.lang.String action, java.lang.String step, java.lang.String failedStep, java.lang.Long phaseTime, java.lang.Long actionTime, java.lang.Long stepTime, org.elasticsearch.common.bytes.BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo)
static IndexLifecycleExplainResponse
newUnmanagedIndexResponse(java.lang.String index)
java.lang.String
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
-
Field Details
-
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,java.lang.Void> PARSER
-
-
Method Details
-
newManagedIndexResponse
public static IndexLifecycleExplainResponse newManagedIndexResponse(java.lang.String index, java.lang.String policyName, java.lang.Long lifecycleDate, java.lang.String phase, java.lang.String action, java.lang.String step, java.lang.String failedStep, java.lang.Long phaseTime, java.lang.Long actionTime, java.lang.Long stepTime, org.elasticsearch.common.bytes.BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo) -
newUnmanagedIndexResponse
-
getIndex
public java.lang.String getIndex() -
managedByILM
public boolean managedByILM() -
getPolicyName
public java.lang.String getPolicyName() -
getLifecycleDate
public long getLifecycleDate() -
getPhase
public java.lang.String getPhase() -
getPhaseTime
public long getPhaseTime() -
getAction
public java.lang.String getAction() -
getActionTime
public long getActionTime() -
getStep
public java.lang.String getStep() -
getStepTime
public long getStepTime() -
getFailedStep
public java.lang.String getFailedStep() -
getStepInfo
public org.elasticsearch.common.bytes.BytesReference getStepInfo() -
getPhaseExecutionInfo
-
getAge
public org.elasticsearch.common.unit.TimeValue getAge() -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-