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
  • Field Details

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

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

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object