Class Annotaml.LoaderOptions

  • Enclosing class:
    Annotaml<T>

    public static class Annotaml.LoaderOptions
    extends java.lang.Object
    Provides options for serializing and deserializing YamlFile annotated objects.
    • Method Detail

      • builder

        public static Annotaml.LoaderOptions builder()
        Creates a new LoaderOptions object with the specified settings.
        Returns:
        the new LoaderOptions object
      • copyDefaults

        public Annotaml.LoaderOptions copyDefaults​(boolean copyDefaults)
        Sets whether to copy default values from the class to the object
        Parameters:
        copyDefaults - whether to copy default values from the class to the object

        Default: true

        Returns:
        the LoaderOptions object
      • isCopyDefaults

        public boolean isCopyDefaults()
        Gets whether to copy default values from the class to the object
        Returns:
        whether to copy default values from the class to the object