|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.EntityObject org.figure8.join.businessobjects.environment.EnvironmentMapping
public class EnvironmentMapping
This is an entity representing a mapping between a logical environment
(attached to a specific process step and release) and a physical environment
(attached to infrastructure resources and machines).
EnvironmentMappings are by definition volatile : they have a startDate
and an endDate
when mapping ends. Active mappings are those having
endDate not set.
LogicalEnvironment
,
PhysicalEnvironment
,
Serialized FormConstructor Summary | |
---|---|
EnvironmentMapping()
Creates a new EnvironmentMapping. |
|
EnvironmentMapping(LogicalEnvironment logicalEnv,
PhysicalEnvironment physicalEnv)
Creates a new EnvironmentMapping with mandatory parameters. |
Method Summary | |
---|---|
void |
addDeployment(Deployment deployment)
Convenient method for adding a deployment to this mapping and managing the 2 sides of the bidirectionnal relationship. |
void |
close()
Close this mapping (ie. make it inactive) |
java.util.List |
getDeployments()
|
java.util.Date |
getEndDate()
|
Deployment |
getLastDeployment()
Convenient method for getting the last deployment done with this mapping. |
LogicalEnvironment |
getLogicalEnvironment()
|
PhysicalEnvironment |
getPhysicalEnvironment()
|
java.util.Date |
getStartDate()
|
boolean |
isActive()
|
void |
setDeployments(java.util.List deployments)
|
void |
setEndDate(java.util.Date endDate)
|
void |
setLogicalEnvironment(LogicalEnvironment logicalEnvironment)
|
void |
setPhysicalEnvironment(PhysicalEnvironment physicalEnvironment)
|
void |
setStartDate(java.util.Date startDate)
|
Methods inherited from class org.figure8.join.core.EntityObject |
---|
clone, equals, getId, hashCode, isTransient |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentMapping()
public EnvironmentMapping(LogicalEnvironment logicalEnv, PhysicalEnvironment physicalEnv)
logicalEnv
- The logical environment this mapping is forphysicalEnv
- The physical environment this mapping is forMethod Detail |
---|
public java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- The date this mapping has started being activepublic java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- The date this mapping has stopped being activepublic java.util.List getDeployments()
Deployments
s done during mapping activitypublic void setDeployments(java.util.List deployments)
deployments
- The set of Deployment
s done during mapping activitypublic void addDeployment(Deployment deployment)
deployment
- The deployment to add on thispublic Deployment getLastDeployment()
public LogicalEnvironment getLogicalEnvironment()
public void setLogicalEnvironment(LogicalEnvironment logicalEnvironment)
logicalEnvironment
- The logical environment this mapping is forpublic PhysicalEnvironment getPhysicalEnvironment()
public void setPhysicalEnvironment(PhysicalEnvironment physicalEnvironment)
physicalEnvironment
- The physical environment this mapping is forpublic boolean isActive()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |