de.smartics.properties.impl.config.domain.key.envapp
Class EnvAppConfigurationKey
java.lang.Object
de.smartics.properties.impl.config.domain.key.envapp.AbstractConfigurationKey<EnvAppConfigurationKey>
de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKey
-
All Implemented Interfaces:
-
ConfigurationKey<
EnvAppConfigurationKey>,
Serializable,
Comparable<
EnvAppConfigurationKey>
-
public final class EnvAppConfigurationKey
-
extends
AbstractConfigurationKey<
EnvAppConfigurationKey>
The configuration key identifies a configuration with environment and application information. With this key all configuration values can be accessed by their local configuration keys.
-
See Also:
-
Serialized Form
Method Summary |
String |
toString() Returns the string representation of the object. |
EnvAppConfigurationKey
public EnvAppConfigurationKey(EnvironmentId environmentId,
ApplicationId applicationId)
throws NullPointerException
-
Default constructor.
-
Parameters:
-
applicationId
- the identifier of the application whose configuration is requested.
-
environmentId
- the identifier of the environment the application is deployed in.
-
Throws:
-
NullPointerException
- if
applicationId
or
environmentId
is
null
.
EnvAppConfigurationKey
public EnvAppConfigurationKey(EnvAppConfigurationKey key,
ApplicationId appId)
throws NullPointerException
-
Copy constructor.
-
Parameters:
-
key
- the key to copy.
-
appId
- the appId to set into the copy.
-
Throws:
-
NullPointerException
- if
key
or
appId
is
null
.
toString
public String toString()
-
Returns the string representation of the object.
-
-
Specified by:
-
toString
in interface
ConfigurationKey<EnvAppConfigurationKey>
-
Overrides:
-
toString
in class
AbstractConfigurationKey<EnvAppConfigurationKey>
-
-
Returns:
-
the string representation of the object.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.