Interface SettingsCore.SettingsAPI
-
- Enclosing class:
- SettingsCore<T extends Enum<T> & SettingsCore.SettingsAPI>
public static interface SettingsCore.SettingsAPIThis interface defines the methods of enumerations declaring configuration settings that are used by the core settings implementation. Thekey()method must be implemented by the enumeration, but theval()method is provided with a default implementation. If your enumeration specifies default values, overrideval()with a method that returns these values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringkey()Get the key for this configuration setting, which is its system property nameStringval()Get the default value for this configuration setting.
NOTE: Return 'null' if this setting has no default value.
-
-
-
Method Detail
-
key
String key()
Get the key for this configuration setting, which is its system property name- Returns:
- configuration setting key
-
val
String val()
Get the default value for this configuration setting.
NOTE: Return 'null' if this setting has no default value.- Returns:
- configuration setting default value; 'null' if none exists
-
-