Package casa.lepton.conf
package casa.lepton.conf
This package provides classes that define properties for the different classes,
loaded from configuration files.
There are two kinds of configuration files:
- Configuration files defining properties as "key=value" associations. They
are used to initialize
ConfigurationProperties
objects - Profile files defining profiles as groups of "key=value" associations.
Each group is preceded by a profile name between '[' and ']'. All properties
before the first profile name are common to all profiles. They are used to
initialize
ConfigurationProfiles
objects, that provideConfigurationProperties
objects from profile names
ConfigurationProperties
objects are typed properties
initialized from their string representation in the configuration file.
OppNetProperties
define the properties used for the
graph (common properties) and OppNodeProperties
define the properties used for the nodes (different nodes may have different
properties).
The keys used to define de property values are defined by the
PropertyKey
enumeration. They have the same name in
downcase characters in the configuration files.
In the configuration files, some values may contain variables in the form
${var}
representing other properties defined either in the
configuration file or provided as command line arguments.-
ClassDescriptionProfiles representing connectivity typeshaving each their
ConnectivityProperties
.Properties for connectivity types: ranges, scanning delays, connection delays.The keys used to access the properties in theConnectivityProperties
classe.Associations (nodeId,label) and (label,nodeId) loaded from a file that contains "nodeId=label" lines.Typed properties used by the graph and loaded from a configuration file where the property keys are those of thePropertyKey
enumeration in downcase characters.The keys used to access the properties in theOppNetProperties
classe.A map associating profile names toOppNodeProperties
objects.Properties used for the graph nodes: different nodes may have different properties.The keys used to access the properties in theOppNodeProperties
classe.