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.
        settings - List of settings defs.
        additional - More settings defs to add
        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
        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.
        srcSettings - the settings to be copied
        destSettings - the settings to be updated.