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

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type Field Description
    static org.elasticsearch.common.xcontent.ConstructingObjectParser<IndexLifecycleExplainResponse,​java.lang.Void> PARSER  

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • 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)  

    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 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

      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 org.elasticsearch.common.bytes.BytesReference getStepInfo()
    • getPhaseExecutionInfo

      public PhaseExecutionInfo 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 interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object