Interface ConfigurationDescription
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ChangeableConfigurationDescription
public interface ConfigurationDescription extends Serializable
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 Classes Modifier and Type Interface Description static interface
ConfigurationDescription.ConfigurationEntry
A 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
Fields Modifier and Type Field Description static long
serialVersionUID
Generated ID for serialisation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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()
).ConfigurationDescription.ConfigurationEntry
getEntry(String entryName)
Returns the configuration entry with the designated name ornull
if no entry with that name exists.
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
Generated ID for serialisation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntry
ConfigurationDescription.ConfigurationEntry getEntry(String entryName)
Returns the configuration entry with the designated name ornull
if no entry with that name exists.- Parameters:
entryName
- The name of the configuration entry to return.- Returns:
- The configuration entry or
null
if 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.
-
-