org.figure8.join.businessobjects.environment
Class LogicalEnvironment
java.lang.Object
org.figure8.join.core.EntityObject
org.figure8.join.businessobjects.environment.LogicalEnvironment
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class LogicalEnvironment
- extends EntityObject
This is an entity representing a logical (or business/functional) view of an
environment. A LogicalEnvironment is a place dedicated to the realization
of a particular step of the integration process for a specific release.
Such an environment will be bind/unbind by integration team members to a
pool of managed physical environment (this one is a concrete one, composed
of resources, gateway, machines, etc ...).
- Version:
- $Revision: 1.2 $
- Author:
- Laurent Broudoux
- See Also:
Step
,
Release
,
Serialized Form
Constructor Summary |
LogicalEnvironment()
Creates a new LogicalEnvironment |
LogicalEnvironment(java.lang.String key,
java.lang.String label,
java.lang.String description,
java.lang.String managerId,
Step step,
Release release)
Creates a new LogicalEnvironment with mandatory attribute |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LogicalEnvironment
public LogicalEnvironment()
- Creates a new LogicalEnvironment
LogicalEnvironment
public LogicalEnvironment(java.lang.String key,
java.lang.String label,
java.lang.String description,
java.lang.String managerId,
Step step,
Release release)
- Creates a new LogicalEnvironment with mandatory attribute
- Parameters:
key
- This environment unique keylabel
- This environment labeldescription
- This environment descriptionmanagerId
- The unique identifier environment managerstep
- The integration cycle step this environment is dedicated torelease
- The project release this environment is dedicated to
getKey
public java.lang.String getKey()
- Returns:
- This environment business key
setKey
public void setKey(java.lang.String key)
- Parameters:
key
- This environment business key (should be uique)
getLabel
public java.lang.String getLabel()
- Returns:
- This environment label
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label
- This environment label
getDescription
public java.lang.String getDescription()
- Returns:
- This environment description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- This environment description
getManagerId
public java.lang.String getManagerId()
- Returns:
- The identifier of user managing this environment
setManagerId
public void setManagerId(java.lang.String managerId)
- Parameters:
managerId
- The identifier of user managin this environment
isActive
public boolean isActive()
- Returns:
- Is this environment active ?
setActive
public void setActive(boolean active)
- Parameters:
active
- The active flag for this environment
getActive
public boolean getActive()
- Returns:
- Is this environment active ?
getStep
public Step getStep()
- Returns:
- The integration process step this environment is dedicated to
setStep
public void setStep(Step step)
- Parameters:
step
- The integration process step for this environment
getRelease
public Release getRelease()
- Returns:
- The project release this environment is dedicated to
setRelease
public void setRelease(Release release)
- Parameters:
release
- The project release this environment is dedicated to
getActiveEnvironmentMappings
public java.util.List getActiveEnvironmentMappings()
- Returns:
- A set of
EnvironmentMapping
s that are active now
setActiveEnvironmentMappings
public void setActiveEnvironmentMappings(java.util.List mappings)
- Parameters:
mappings
- The set of EnvironmentMapping
s that are active now
getActiveEnvironmentMapping
public EnvironmentMapping getActiveEnvironmentMapping()
- Get the most recent active EnvironmentMapping for this environment
- Returns:
- The last mapping that has been created
setActiveEnvironmentMapping
public void setActiveEnvironmentMapping(EnvironmentMapping mapping)
- Parameters:
mapping
- The EnvironmentMapping to use as current active mapping
Copyright © 2005-2008 Join. All Rights Reserved.