Class InterfaceDefaultOptions


  • public final class InterfaceDefaultOptions
    extends java.lang.Object
    This class has the default ConfigurationOptions with InterfaceTypeSerializer added to the serializers.
    Since:
    4.2.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.spongepowered.configurate.ConfigurationOptions get()
      The default ConfigurationOptions with InterfaceTypeSerializer added to the serializers.
      static org.spongepowered.configurate.ConfigurationOptions with​(java.util.function.UnaryOperator<org.spongepowered.configurate.ConfigurationOptions> options)
      Sets the default configuration options to be used by the resultant loader by providing a function which takes the current default options and applies any desired changes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public static org.spongepowered.configurate.ConfigurationOptions get()
        The default ConfigurationOptions with InterfaceTypeSerializer added to the serializers.
        Returns:
        the default ConfigurationOptions with InterfaceTypeSerializer added to the serializers.
        Since:
        4.2.0
      • with

        public static org.spongepowered.configurate.ConfigurationOptions with​(java.util.function.UnaryOperator<org.spongepowered.configurate.ConfigurationOptions> options)
        Sets the default configuration options to be used by the resultant loader by providing a function which takes the current default options 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