Class IndexLifecycleExplainResponse
java.lang.Object
org.elasticsearch.client.indexlifecycle.IndexLifecycleExplainResponse
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
public class IndexLifecycleExplainResponse
extends Object
implements org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,
Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
org.elasticsearch.core.TimeValue
getAge()
getIndex()
long
getPhase()
long
getStep()
long
int
hashCode()
boolean
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
(String index) toString()
org.elasticsearch.xcontent.XContentBuilder
toXContent
(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,Void> PARSER
-
-
Method Details
-
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
-
getIndex
-
managedByILM
public boolean managedByILM() -
getPolicyName
-
getLifecycleDate
public long getLifecycleDate() -
getPhase
-
getPhaseTime
public long getPhaseTime() -
getAction
-
getActionTime
public long getActionTime() -
getStep
-
getStepTime
public long getStepTime() -
getFailedStep
-
getStepInfo
-
getPhaseExecutionInfo
-
getAge
public org.elasticsearch.core.TimeValue getAge() -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-