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 TypeMethodDescription@NotNull OptionState.Versionedat(int version) Request a view of this option state showing only option values available at versions up to and includingversion.@NotNull Map<Integer,OptionState> The individual changes in each supported version.Methods inherited from interface net.kyori.option.OptionState
has, value
-
Method Details
-
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
-