Class ExplainLifecycleResponse

  • All Implemented Interfaces:
    ToXContent, ToXContentObject

    public class ExplainLifecycleResponse
    extends java.lang.Object
    implements ToXContentObject
    The response object returned by the Explain Lifecycle API. Since the API can be run over multiple indices the response provides a map of index to the explanation of the lifecycle status for that index.
    • Constructor Detail

    • Method Detail

      • getIndexResponses

        public java.util.Map<java.lang.String,​IndexLifecycleExplainResponse> getIndexResponses()
        Returns:
        a map of the responses from each requested index. The maps key is the index name and the value is the IndexLifecycleExplainResponse describing the current lifecycle status of that index
      • 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