Class GetFeatureUpgradeStatusResponse
java.lang.Object
org.elasticsearch.client.migration.GetFeatureUpgradeStatusResponse
Information about which system features need to be upgraded before the next
major version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class represents a particular feature and whether it needs to be upgraded.static classA class representing an index and the version of Elasticsearch that created it. -
Constructor Summary
ConstructorsConstructorDescriptionGetFeatureUpgradeStatusResponse(List<GetFeatureUpgradeStatusResponse.FeatureUpgradeStatus> featureUpgradeStatuses, String upgradeStatus) Constructor for the response object -
Method Summary
-
Constructor Details
-
GetFeatureUpgradeStatusResponse
public GetFeatureUpgradeStatusResponse(List<GetFeatureUpgradeStatusResponse.FeatureUpgradeStatus> featureUpgradeStatuses, String upgradeStatus) Constructor for the response object- Parameters:
featureUpgradeStatuses- A list of feature, their upgrade statuses, and other relevant information for upgradingupgradeStatus- Does this feature need to be upgraded or not?
-
-
Method Details
-
parse
public static GetFeatureUpgradeStatusResponse parse(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getFeatureUpgradeStatuses
-
getUpgradeStatus
-