Package net.kyori.option
Interface OptionState.Versioned
- All Superinterfaces:
OptionState
- Enclosing interface:
- OptionState
A composite option set.
By default, this returns results for the newest supported version.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.option.OptionState
OptionState.Builder, OptionState.Versioned, OptionState.VersionedBuilder -
Method Summary
Modifier and TypeMethodDescriptionat(int version) Request a view of this option state showing only option values available at versions up to and includingversion.The individual changes in each supported version.Methods inherited from interface net.kyori.option.OptionState
has, schema, value
-
Method Details
-
childStates
Map<Integer,OptionState> childStates()The individual changes in each supported version.- Returns:
- the child sets that exist
- Since:
- 1.0.0
-
at
Request a view of this option state showing only option values available at versions up to and includingversion.- Parameters:
version- the version to query- Returns:
- a limited view of this set
- Since:
- 1.0.0
-