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 ConfigurationOptionsaddTo(ConfigurationOptions options)Sets the default configuration options to be used by the resultant loader by providing a function which takes interface's default serializer collection and applies any desired changes.static ConfigurationOptionsdefaults()The default ConfigurationOptions withInterfaceTypeSerializeradded to the serializers.
-
-
-
Method Detail
-
defaults
public static ConfigurationOptions defaults()
The default ConfigurationOptions withInterfaceTypeSerializeradded to the serializers.- Returns:
- the default ConfigurationOptions with
InterfaceTypeSerializeradded to the serializers. - Since:
- 4.2.0
-
addTo
public static ConfigurationOptions addTo(ConfigurationOptions options)
Sets the default configuration options to be used by the resultant loader by providing a function which takes interface's default serializer collection and applies any desired changes.- Parameters:
options- to transform the existing default options- Returns:
- the default options with the applied changes
- Since:
- 4.2.0
-
-