| Modifier and Type | Method and Description |
|---|---|
Feature |
build()
Returns the feature with the previously given configuration.
|
Feature.Builder |
withChild(Feature childFeature,
com.google.common.collect.Range<java.lang.Integer> versionRange)
Automatically includes the given child when the config version is in the given range.
|
Feature.Builder |
withDefaultRange(com.google.common.collect.Range<java.lang.Integer> versionRange)
Sets the range of versions where this feature is enabled by default.
|
Feature.Builder |
withSupportedRange(com.google.common.collect.Range<java.lang.Integer> versionRange)
Sets the range of versions where this feature is supported.
|
public Feature.Builder withSupportedRange(com.google.common.collect.Range<java.lang.Integer> versionRange)
public Feature.Builder withDefaultRange(com.google.common.collect.Range<java.lang.Integer> versionRange)
public Feature.Builder withChild(Feature childFeature, com.google.common.collect.Range<java.lang.Integer> versionRange)
public Feature build()