|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParameterManager
This is a sevrice interface defining methods for managing deployment
parameters and their values according to the physical environment they
allpy to and their deployment targets.
Implementation should define how parameter and parameter values are
created, updated and retrieved.
Method Summary | |
---|---|
java.util.List |
getAllParameters()
Search all the defined parameter instances. |
Parameter |
getParameter(java.lang.String name)
Get a parameter by its name. |
ParameterValue |
getParameterValue(long id)
Retrieve the ParameterValue having this unique identifier |
java.util.List |
getParameterValues(java.lang.String environmentKey,
java.lang.String targetName)
Retrieve the list of current parameter values for a given environment and a given target. |
void |
removeParameter(Parameter parameter)
Remove a parameter from datastore. |
void |
removeParameterValue(ParameterValue value)
Remove a parameter value. |
java.util.List |
renderParameterValues(java.lang.String environmentKey,
java.lang.String targetName)
Retrieve and render the list of current parameter values for a given environment and a given target. |
void |
saveParameter(Parameter parameter)
Save a parameter within datastore. |
void |
saveParameterValue(ParameterValue value)
Save a parameter value wrapper within datastore. |
Method Detail |
---|
void saveParameter(Parameter parameter)
parameter
- The parameter to savejava.util.List getAllParameters()
org.figure8.join.businessobjects.environment.Parameter
Parameter getParameter(java.lang.String name)
name
- The parameter name to get
void removeParameter(Parameter parameter)
parameter
- The parameter to remove.void saveParameterValue(ParameterValue value)
value
- The parameter value to savejava.util.List getParameterValues(java.lang.String environmentKey, java.lang.String targetName)
environmentKey
- The key of the physical environment to retrieve values fortargetName
- The name of the deployment target to retrieve values for
org.figure8.join.businessobjects.environment.ParameterValue
java.util.List renderParameterValues(java.lang.String environmentKey, java.lang.String targetName)
environmentKey
- The key of the physical environment to retrieve values fortargetName
- The name of the deployment target to retrieve values for
org.figure8.join.businessobjects.environment.ParameterValue
ParameterValue getParameterValue(long id)
id
- The unique identifier of value ot retrieve
void removeParameterValue(ParameterValue value)
value
- The parameter value to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |