Class ExplainLifecycleResponse
java.lang.Object
org.elasticsearch.client.indexlifecycle.ExplainLifecycleResponse
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
public class ExplainLifecycleResponse
extends Object
implements org.elasticsearch.xcontent.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.
-
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
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionExplainLifecycleResponse
(Map<String, IndexLifecycleExplainResponse> indexResponses) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ExplainLifecycleResponse
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) int
hashCode()
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
-
Constructor Details
-
ExplainLifecycleResponse
-
-
Method Details
-
fromXContent
public static ExplainLifecycleResponse fromXContent(org.elasticsearch.xcontent.XContentParser parser) -
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
-
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
-