|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfigKey<T>
Represents the name of a piece of typed configuration data for an entity.
Two ConfigKeys should be considered equal if they have the same FQN.
| Nested Class Summary | |
|---|---|
static interface |
ConfigKey.HasConfigKey<T>
Interface for elements which want to be treated as a config key without actually being one (e.g. |
| Method Summary | |
|---|---|
T |
getDefaultValue()
Returns the default value of the configuration parameter. |
String |
getDescription()
Returns the description of the configuration parameter, for display. |
String |
getName()
Returns the name of the configuration parameter, in a dot-separated namespace (FQN). |
Collection<String> |
getNameParts()
Returns the constituent parts of the configuration parameter name as a Collection. |
Class<T> |
getType()
Returns the type of the configuration parameter data. |
String |
getTypeName()
Returns the name of of the configuration parameter data type, as a String. |
boolean |
hasDefaultValue()
Returns true if a default configuration value has been set. |
boolean |
isReconfigurable()
|
| Method Detail |
|---|
String getDescription()
String getName()
Collection<String> getNameParts()
Collection.
Class<T> getType()
String getTypeName()
String.
T getDefaultValue()
boolean hasDefaultValue()
boolean isReconfigurable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||