Class IndexLifecycleExplainResponse
- java.lang.Object
-
- org.elasticsearch.client.indexlifecycle.IndexLifecycleExplainResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class IndexLifecycleExplainResponse extends java.lang.Object implements ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ConstructingObjectParser<IndexLifecycleExplainResponse,java.lang.Void>PARSER-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAction()longgetActionTime()java.lang.StringgetFailedStep()java.lang.StringgetIndex()longgetLifecycleDate()java.lang.StringgetPhase()PhaseExecutionInfogetPhaseExecutionInfo()longgetPhaseTime()java.lang.StringgetPolicyName()java.lang.StringgetStep()BytesReferencegetStepInfo()longgetStepTime()inthashCode()booleanmanagedByILM()static IndexLifecycleExplainResponsenewManagedIndexResponse(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, BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo)static IndexLifecycleExplainResponsenewUnmanagedIndexResponse(java.lang.String index)java.lang.StringtoString()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
PARSER
public static final ConstructingObjectParser<IndexLifecycleExplainResponse,java.lang.Void> PARSER
-
-
Method Detail
-
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, BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo)
-
newUnmanagedIndexResponse
public static IndexLifecycleExplainResponse newUnmanagedIndexResponse(java.lang.String index)
-
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 BytesReference getStepInfo()
-
getPhaseExecutionInfo
public PhaseExecutionInfo getPhaseExecutionInfo()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-