Index
All Classes and Interfaces|All Packages
A
- at(int) - Method in interface net.kyori.option.OptionState.Versioned
-
Request a view of this option state showing only option values available at versions up to and including
version
.
B
- booleanOption(String, boolean) - Static method in interface net.kyori.option.Option
-
Deprecated.
- booleanOption(String, boolean) - Method in interface net.kyori.option.OptionSchema.Mutable
-
Create an option with a boolean value type.
- booleanType() - Static method in interface net.kyori.option.value.ValueType
-
Provide a value type for boolean values.
- build() - Method in interface net.kyori.option.OptionState.Builder
-
Create a completed option state.
- build() - Method in interface net.kyori.option.OptionState.VersionedBuilder
-
Create a completed versioned option state.
C
- childSchema(OptionSchema) - Static method in interface net.kyori.option.OptionSchema
-
Return a mutable schema that's a child of the specified schema.
- childStates() - Method in interface net.kyori.option.OptionState.Versioned
-
The individual changes in each supported version.
D
- defaultValue() - Method in interface net.kyori.option.Option
-
Get a default value for the option, if any is present.
- doubleOption(String, double) - Method in interface net.kyori.option.OptionSchema.Mutable
-
Create an option with a double value type.
- doubleType() - Static method in interface net.kyori.option.value.ValueType
-
Provide a value type for double values.
E
- emptyOptionState() - Static method in interface net.kyori.option.OptionState
-
Deprecated.for removal since 1.1.0, access via
OptionSchema.emptyState()
instead - emptySchema() - Static method in interface net.kyori.option.OptionSchema
-
Create an empty schema inheriting from nothing but the contents of the global schema at invocation time.
- emptyState() - Method in interface net.kyori.option.OptionSchema
-
Create an empty option state within this schema.
- enumOption(String, Class<E>, E) - Method in interface net.kyori.option.OptionSchema.Mutable
-
Create an option with an enum value type.
- enumOption(String, Class<E>, E) - Static method in interface net.kyori.option.Option
-
Deprecated.For removal since 1.1.0, create new options within an
OptionSchema
instead - enumType(Class<E>) - Static method in interface net.kyori.option.value.ValueType
-
Provide a value type for enum values.
- environmentVariable() - Static method in interface net.kyori.option.value.ValueSource
-
A value source that will extract option values from environment variables.
- environmentVariable(String) - Static method in interface net.kyori.option.value.ValueSource
-
A value source that will extract option values from environment variables.
F
- frozenView() - Method in interface net.kyori.option.OptionSchema.Mutable
-
Return a view of this schema which does not allow consumers to register new options.
G
- globalSchema() - Static method in interface net.kyori.option.OptionSchema
-
Retrieve the globally-shared option schema.
H
- has(Option<?>) - Method in interface net.kyori.option.OptionSchema
-
Return whether the provided option is known within this scheam.
- has(Option<?>) - Method in interface net.kyori.option.OptionState
-
Get whether this state contains a certain option at all.
I
- id() - Method in interface net.kyori.option.Option
-
Get the option id.
- integerType() - Static method in interface net.kyori.option.value.ValueType
-
Provide a value type for integer values.
- intOption(String, int) - Method in interface net.kyori.option.OptionSchema.Mutable
-
Create an option with an integer value type.
K
- knownOptions() - Method in interface net.kyori.option.OptionSchema
-
Return all known options contained within this schema, and recursively through its parents.
N
- net.kyori.option - package net.kyori.option
-
Runtime option system.
- net.kyori.option.value - package net.kyori.option.value
-
Tools related to option value handling.
O
- Option<V> - Interface in net.kyori.option
-
A representation of a configurable option.
- OptionSchema - Interface in net.kyori.option
-
Represents a 'universe' of known options.
- OptionSchema.Mutable - Interface in net.kyori.option
-
A mutable view of an option schema that allows registering new options into the schema.
- optionState() - Static method in interface net.kyori.option.OptionState
-
Deprecated.for removal since 1.1.0, create states via
OptionSchema.stateBuilder()
instead - OptionState - Interface in net.kyori.option
-
Collection of feature flags.
- OptionState.Builder - Interface in net.kyori.option
-
A builder for option states.
- OptionState.Versioned - Interface in net.kyori.option
-
A composite option set.
- OptionState.VersionedBuilder - Interface in net.kyori.option
-
A builder for versioned option states.
P
- parse(String) - Method in interface net.kyori.option.value.ValueType
-
Extract a value of this type from a plain string.
S
- schema() - Method in interface net.kyori.option.OptionState
-
Get the option schema defining options that can be set within this state.
- stateBuilder() - Method in interface net.kyori.option.OptionSchema
-
Create a builder for an unversioned option state containing only options within this schema.
- stringOption(String, String) - Method in interface net.kyori.option.OptionSchema.Mutable
-
Create an option with a string value type.
- stringType() - Static method in interface net.kyori.option.value.ValueType
-
Provide a value type for string values.
- systemProperty() - Static method in interface net.kyori.option.value.ValueSource
-
A value source that will extract option values from system properties.
- systemProperty(String) - Static method in interface net.kyori.option.value.ValueSource
-
A value source that will extract option values from system properties.
T
- type() - Method in interface net.kyori.option.Option
-
Deprecated.for removal since 1.1.0, use
Option.valueType()
instead - type() - Method in interface net.kyori.option.value.ValueType
-
The type representing the value.
V
- value(Option<T>) - Method in interface net.kyori.option.value.ValueSource
-
Provide a value for the specified option, if any is set.
- value(Option<V>) - Method in interface net.kyori.option.OptionState
-
Get the value set for a certain option.
- value(Option<V>, V) - Method in interface net.kyori.option.OptionState.Builder
-
Set the value for a specific option.
- values(OptionState) - Method in interface net.kyori.option.OptionState.Builder
-
Apply all values from the existing option state.
- values(ValueSource) - Method in interface net.kyori.option.OptionState.Builder
-
Set a value for all options within the
OptionState.schema()
where a value is provided by thesource
. - ValueSource - Interface in net.kyori.option.value
-
A source for external option values.
- valueType() - Method in interface net.kyori.option.Option
-
Get information about the option's value type.
- ValueType<T> - Interface in net.kyori.option.value
-
A possible type for an option value.
- version(int, Consumer<OptionState.Builder>) - Method in interface net.kyori.option.OptionState.VersionedBuilder
-
Register options for a specific version.
- versionedOptionState() - Static method in interface net.kyori.option.OptionState
-
Deprecated.for removal since 1.1.0, create states via
OptionSchema.versionedStateBuilder()
instead - versionedStateBuilder() - Method in interface net.kyori.option.OptionSchema
-
Create a builder for a versioned option state containing only values for options within this schema.
All Classes and Interfaces|All Packages
OptionSchema
instead