|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Configuration interface for the Deployment Service
Field Summary |
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
ComponentTemplateName |
Method Summary | |
String |
getCurrentDeploymentNodeName()
Gets the name to be used for the LinkNode that will be
used to link to the current deployment's configuration file. |
String |
getDeploymentsNodeAbsoluteName()
Gets the name of the root Node for deployments. |
String |
getEnvironmentName()
Returns the name of the environment. |
NameLookup |
getEnvironmentNameLookup()
|
String |
getInstanceName()
Returns the name of the instance. |
NameLookup |
getInstanceNameLookup()
|
void |
setCurrentDeploymentNodeName(String name)
Sets the value of CurrentDeploymentNodeName. |
void |
setDeploymentsNodeAbsoluteName(String name)
Sets the value of DeploymentsNodeAbsoluteName. |
void |
setEnvironmentName(String name)
Sets the name of the environment. |
void |
setEnvironmentNameLookup(NameLookup environmentNameLookup)
|
void |
setInstanceName(String name)
Sets the name of the instance. |
void |
setInstanceNameLookup(NameLookup instanceNameLookup)
|
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Method Detail |
public String getDeploymentsNodeAbsoluteName()
Node
for deployments. This
name is an absolute path and must be a Folder
.
The the LinkNode
to the
current deployment configuration will be placed under this
Node
. All environment Node
s must be under
this Node
and the instance specific
Node
s must be under the environment Node
s.
Example Node
structure:
/ (root) +deployment | +deployments | | +development | | | +eng1 | | | +eng2 | | | +eng3 | | +production | | | +instance1 | | | +instance2 | | | +instance3 | | | +instance4In this scenario, this method would return "/deployment/deployments"
public void setDeploymentsNodeAbsoluteName(String name)
name
- new value of DeploymentsNodeAbsoluteNamepublic String getCurrentDeploymentNodeName()
LinkNode
that will be
used to link to the current deployment's configuration file. This
name should be used when accessing deployment specific configurations.
For example, if the value of CurrentDeploymentNodeName were
"CurrentDeployment" one would reference values in the current
deployment like:
public void setCurrentDeploymentNodeName(String name)
name
- new value of CurrentDeploymentNodeNamepublic String getEnvironmentName()
public void setEnvironmentName(String name)
name
- the name of the environmentpublic String getInstanceName()
public void setInstanceName(String name)
name
- the name of the instancepublic NameLookup getEnvironmentNameLookup()
public void setEnvironmentNameLookup(NameLookup environmentNameLookup)
public NameLookup getInstanceNameLookup()
public void setInstanceNameLookup(NameLookup instanceNameLookup)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |