Interface SettingsDefinition

    • Method Detail

      • concat

        static SettingsDefinition[] concat​(SettingsDefinition[] settings,
                                           SettingsDefinition... additional)
        Create a new list of SettingsDefinitions by concat'ing a base list with a var-arg'ish additional list of setting defs.
        Parameters:
        settings - List of settings defs.
        additional - More settings defs to add
        Returns:
        new array with all the settings defs joined together.
      • hasValue

        boolean hasValue​(Settings setting)
      • getName

        java.lang.String getName()
        Returns the name of this SettingsDefinition
      • getDescription

        java.lang.String getDescription()
        Returns a description of this settings definition
      • clear

        void clear​(Settings settings)
        Removes any values in the given settings object assocated with this settings definition
        Parameters:
        settings - the settings object to be cleared.
      • copySetting

        void copySetting​(Settings srcSettings,
                         Settings destSettings)
        Copies any setting value associated with this settings definition from the srcSettings settings to the destSettings.
        Parameters:
        srcSettings - the settings to be copied
        destSettings - the settings to be updated.