|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.services.workflow.YesDeploymentRuleSet
public class YesDeploymentRuleSet
This is a default implementation of DeploymentRuleSet
that
always says "Yes" on operation allowed requests.
Constructor Summary | |
---|---|
YesDeploymentRuleSet()
Creates a new insatnce of YesDeploymentRuleSet |
Method Summary | |
---|---|
boolean |
isDeploymentCreationAllowed(Deployment deployment)
The isDeploymentCreationAllowed method is called by the environment manager when a user wants to ask a new environment update. |
boolean |
isDeploymentEndingAllowed(Deployment deployment)
The isDeploymentEndingAllowed method is called by the environment manager when deployment has begun and user wants to finish it. |
boolean |
isDeploymentPreparationAllowed(Deployment deployment)
The isDeploymentPreparationAllowed method is called by the environment manager when deployment is created and user wants to launch the preparation of it. |
boolean |
isDeploymentRealizationAllowed(Deployment deployment)
The isDeploymentRealizationAllowed method is called by the environment manager when deployment has been prepared and user wants to start it (ie : shutting down services and resources, updating them and restarting them). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YesDeploymentRuleSet()
Method Detail |
---|
public boolean isDeploymentCreationAllowed(Deployment deployment)
isDeploymentCreationAllowed
in interface DeploymentRuleSet
deployment
- The informations on requested deployment
public boolean isDeploymentPreparationAllowed(Deployment deployment)
isDeploymentPreparationAllowed
in interface DeploymentRuleSet
deployment
- The informations on requested deployment
public boolean isDeploymentRealizationAllowed(Deployment deployment)
isDeploymentRealizationAllowed
in interface DeploymentRuleSet
deployment
- The informations on requested deployment
public boolean isDeploymentEndingAllowed(Deployment deployment)
isDeploymentEndingAllowed
in interface DeploymentRuleSet
deployment
- The informations on requested deployment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |