Interface OptionState.Versioned

All Superinterfaces:
OptionState
Enclosing interface:
OptionState

@NonExtendable public static interface OptionState.Versioned extends OptionState
A composite option set.

By default, this returns results for the newest supported version.

Since:
1.0.0
  • Method Details

    • childStates

      @NotNull @NotNull Map<Integer,OptionState> childStates()
      The individual changes in each supported version.
      Returns:
      the child sets that exist
      Since:
      1.0.0
    • at

      @NotNull @NotNull OptionState.Versioned at(int version)
      Request a view of this option state showing only option values available at versions up to and including version.
      Parameters:
      version - the version to query
      Returns:
      a limited view of this set
      Since:
      1.0.0