Class IndexLifecycleExplainResponse
- java.lang.Object
-
- org.elasticsearch.client.indexlifecycle.IndexLifecycleExplainResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class IndexLifecycleExplainResponse extends 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,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(Object obj)StringgetAction()longgetActionTime()TimeValuegetAge()StringgetFailedStep()StringgetIndex()longgetLifecycleDate()StringgetPhase()PhaseExecutionInfogetPhaseExecutionInfo()longgetPhaseTime()StringgetPolicyName()StringgetStep()BytesReferencegetStepInfo()longgetStepTime()inthashCode()booleanmanagedByILM()static IndexLifecycleExplainResponsenewManagedIndexResponse(String index, String policyName, Long lifecycleDate, String phase, String action, String step, String failedStep, Long phaseTime, Long actionTime, Long stepTime, BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo)static IndexLifecycleExplainResponsenewUnmanagedIndexResponse(String index)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,Void> PARSER
-
-
Method Detail
-
newManagedIndexResponse
public static IndexLifecycleExplainResponse newManagedIndexResponse(String index, String policyName, Long lifecycleDate, String phase, String action, String step, String failedStep, Long phaseTime, Long actionTime, Long stepTime, BytesReference stepInfo, PhaseExecutionInfo phaseExecutionInfo)
-
newUnmanagedIndexResponse
public static IndexLifecycleExplainResponse newUnmanagedIndexResponse(String index)
-
getIndex
public String getIndex()
-
managedByILM
public boolean managedByILM()
-
getPolicyName
public String getPolicyName()
-
getLifecycleDate
public long getLifecycleDate()
-
getPhase
public String getPhase()
-
getPhaseTime
public long getPhaseTime()
-
getAction
public String getAction()
-
getActionTime
public long getActionTime()
-
getStep
public String getStep()
-
getStepTime
public long getStepTime()
-
getFailedStep
public String getFailedStep()
-
getStepInfo
public BytesReference getStepInfo()
-
getPhaseExecutionInfo
public PhaseExecutionInfo getPhaseExecutionInfo()
-
getAge
public TimeValue getAge()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-