Module org.elasticsearch.server
Package org.elasticsearch.features
Class FeatureInfrastructureFeatures
java.lang.Object
org.elasticsearch.features.FeatureInfrastructureFeatures
- All Implemented Interfaces:
FeatureSpecification
This class specifies features for the features functionality itself.
This adds a feature features_supported
indicating that a node supports node features.
Nodes that do not support features won't have this feature in its feature set,
so this can be checked without needing to look at the node version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a set of regular features that this node supports.Returns a set of test features that this node supports.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.features.FeatureSpecification
getHistoricalFeatures
-
Constructor Details
-
FeatureInfrastructureFeatures
public FeatureInfrastructureFeatures()
-
-
Method Details
-
getFeatures
Description copied from interface:FeatureSpecification
Returns a set of regular features that this node supports.- Specified by:
getFeatures
in interfaceFeatureSpecification
-
getTestFeatures
Description copied from interface:FeatureSpecification
Returns a set of test features that this node supports.These features will only be exposed if the
tests.testfeatures.enabled
system property is set. This should only be used when deploying test clusters.- Specified by:
getTestFeatures
in interfaceFeatureSpecification
-