|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKeyBuilder
public final class EnvAppConfigurationKeyBuilder
Helper to create instances of TenentUserConfigurationKey
.
Constructor Summary | |
---|---|
EnvAppConfigurationKeyBuilder() |
Method Summary | |
---|---|
ConfigurationKey<?> |
build() Creates an ConfigurationKey instance. |
EnvAppConfigurationKeyBuilder |
withArtifactId(String artifactId) Sets the name of the application. |
EnvAppConfigurationKeyBuilder |
withEnvironmentName(String name) Sets the name of the environment. |
EnvAppConfigurationKeyBuilder |
withGroupId(String groupId) Sets the group the application belongs to. |
EnvAppConfigurationKeyBuilder |
withNode(String node) Sets the optional identifier of the node within the given environment. |
EnvAppConfigurationKeyBuilder |
withVersion(String version) Sets the version of the application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvAppConfigurationKeyBuilder()
Method Detail |
---|
public EnvAppConfigurationKeyBuilder withEnvironmentName(String name)
name
- the name of the environment.
public EnvAppConfigurationKeyBuilder withNode(String node)
node
- the optional identifier of the node within the given environment.
public EnvAppConfigurationKeyBuilder withGroupId(String groupId)
groupId
- the group the application belongs to.
public EnvAppConfigurationKeyBuilder withArtifactId(String artifactId)
artifactId
- the name of the application.
public EnvAppConfigurationKeyBuilder withVersion(String version)
version
- the version of the application.
public ConfigurationKey<?> build() throws de.smartics.util.lang.BlankArgumentException
ConfigurationKey
instance.
ConfigurationKey
instance.
de.smartics.util.lang.BlankArgumentException
- if the
name
of the environment, the
groupId
or
artifactId
of the application is blank.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |