Class InterfaceDefaultOptions
- java.lang.Object
-
- org.spongepowered.configurate.interfaces.InterfaceDefaultOptions
-
public final class InterfaceDefaultOptions extends java.lang.Object
This class has the defaultConfigurationOptionswithInterfaceTypeSerializeradded to the serializers.- Since:
- 4.2.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigurationOptionsget()The default ConfigurationOptions withInterfaceTypeSerializeradded to the serializers.static ConfigurationOptionswith(java.util.function.UnaryOperator<ConfigurationOptions> options)Sets the default configuration options to be used by the resultant loader by providing a function which takes the currentdefault optionsand applies any desired changes.
-
-
-
Method Detail
-
get
public static ConfigurationOptions get()
The default ConfigurationOptions withInterfaceTypeSerializeradded to the serializers.- Returns:
- the default ConfigurationOptions with
InterfaceTypeSerializeradded to the serializers. - Since:
- 4.2.0
-
with
public static ConfigurationOptions with(java.util.function.UnaryOperator<ConfigurationOptions> options)
Sets the default configuration options to be used by the resultant loader by providing a function which takes the currentdefault optionsand applies any desired changes.- Parameters:
options- to transform the existing default options- Returns:
- the default options with the applied changes
- Since:
- 4.2.0
-
-