|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.plan.bindings.deploymentplan.DeploymentHelper
public class DeploymentHelper
Helper class to access properties of the deployment binding class that have element and attribute members.
| Constructor Summary | |
|---|---|
DeploymentHelper()
|
|
| Method Summary | |
|---|---|
static String |
getId(Deployment deployment)
Accesses the Id of the deployment. |
static String |
getRepositoryRef(Deployment deployment)
Accesses the repository reference of the deployment. |
static Integer |
getStartLevel(Deployment deployment)
Accesses the startlevel flag of the deployment. |
static Boolean |
isReference(Deployment deployment)
Accesses the reference flag of the deployment. |
static Boolean |
isReloadable(Deployment deployment)
Accesses the reloadable flag of the deployment. |
static Boolean |
isStart(Deployment deployment)
Accesses the start flag of the deployment. |
static Boolean |
isStartTransient(Deployment deployment)
Accesses the starttransient flag of the deployment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentHelper()
| Method Detail |
|---|
public static String getId(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException - if both the element and attribute are set.
public static Boolean isReloadable(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException
public static String getRepositoryRef(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException - if both the element and attribute are set.
public static Boolean isStart(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException - if both the element and attribute are set.
public static Boolean isReference(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException - if both the element and attribute are set.
public static Integer getStartLevel(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException - if both the element and attribute are set.
public static Boolean isStartTransient(Deployment deployment)
throws InvalidDeploymentException
deployment - the deployment.
InvalidDeploymentException - if both the element and attribute are set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||