Interface ConfigurationDescription
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ChangeableConfigurationDescription
The configuration description defines the entries of a corresponding
configuration, specifies the types and further restrictions for the
configuration values as well as a description for the user.
- Author:
- Ulrich Kreher
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA configuration entry declares a configuration value and provides additional information for it, that is a name for the entry, a description, the data type and restrictions on the type as well as the usage of the configuration value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longGenerated ID for serialisation. -
Method Summary
Modifier and TypeMethodDescriptionGets a map containing all entries for this configuration description indexed by the name of the entry (ConfigurationDescription.ConfigurationEntry.getName()).Returns the configuration entry with the designated name ornullif no entry with that name exists.
-
Field Details
-
serialVersionUID
static final long serialVersionUIDGenerated ID for serialisation.- See Also:
-
-
Method Details
-
getEntry
Returns the configuration entry with the designated name ornullif no entry with that name exists.- Parameters:
entryName- The name of the configuration entry to return.- Returns:
- The configuration entry or
nullif no entry with that name exists.
-
getEntries
Map<String,ConfigurationDescription.ConfigurationEntry> getEntries()Gets a map containing all entries for this configuration description indexed by the name of the entry (ConfigurationDescription.ConfigurationEntry.getName()). This name is also the key to retrieve the value from the appropriateConfiguration.- Returns:
- The entries for this configuration description indexed by their corresponding names.
-