org.figure8.join.view
Class EnvironmentView
java.lang.Object
org.figure8.join.view.EnvironmentView
- All Implemented Interfaces:
- java.io.Serializable
public class EnvironmentView
- extends java.lang.Object
- implements java.io.Serializable
This is a JavaBean encapsulating a LogicalEnvironemnt domain model object
and its information on last deployment done.
Instance of EnvironemntView
class are intended to be stored within
an Http layer context.
- Version:
- $Revision: 1.1 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
environment
protected LogicalEnvironment environment
- The encapsulated environment domain object
lastDeployment
protected Deployment lastDeployment
- The optionnal last deployment completed onto this environment
EnvironmentView
public EnvironmentView(LogicalEnvironment environment,
Deployment lastDeployment)
- Creates a new instance of EnvironmentView
- Parameters:
environment
- The encapsulated environment domain objectlastDeployment
- Information on last deployment done onto environment (may be null)
getLogicalEnvironment
public LogicalEnvironment getLogicalEnvironment()
- Returns:
- The encapsulated environment domain object
getLastDeployment
public Deployment getLastDeployment()
- Returns:
- The last deployment done onto this environment
isDeployed
public boolean isDeployed()
- Returns:
- A flag telling if environment is currently deployed
getDeployedAssembly
public Assembly getDeployedAssembly()
- Returns:
- The deployed assembly onto this environment if any, else null
Copyright © 2005-2008 Join. All Rights Reserved.