Package org.elasticsearch.client.feature
Class ResetFeaturesResponse
java.lang.Object
org.elasticsearch.client.feature.ResetFeaturesResponse
public class ResetFeaturesResponse
extends java.lang.Object
This class represents the response of the Feature State Reset API. It is a
list containing the response of every feature whose state can be reset. The
response from each feature will indicate success or failure. In the case of a
failure, the cause will be returned as well.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResetFeaturesResponse.ResetFeatureStateStatus
A class representing the status of an attempt to reset a feature's state. -
Constructor Summary
Constructors Constructor Description ResetFeaturesResponse(java.util.List<ResetFeaturesResponse.ResetFeatureStateStatus> features)
Create a new ResetFeaturesResponse -
Method Summary
Modifier and Type Method Description java.util.List<ResetFeaturesResponse.ResetFeatureStateStatus>
getFeatureResetStatuses()
static ResetFeaturesResponse
parse(org.elasticsearch.common.xcontent.XContentParser parser)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ResetFeaturesResponse
public ResetFeaturesResponse(java.util.List<ResetFeaturesResponse.ResetFeatureStateStatus> features)Create a new ResetFeaturesResponse- Parameters:
features
- A full list of status responses from individual feature reset operations.
-
-
Method Details
-
getFeatureResetStatuses
- Returns:
- List containing a reset status for each feature that we have tried to reset.
-
parse
-