org.ow2.jasmine.jadort.service.implementation
Class StepManager
java.lang.Object
org.ow2.jasmine.jadort.service.implementation.OperationPersistenceManager
org.ow2.jasmine.jadort.service.implementation.ActionManager
org.ow2.jasmine.jadort.service.implementation.StepManager
- Direct Known Subclasses:
- JadortServiceStatefulBean
public class StepManager
- extends ActionManager
Step management of the JaDOrT engine.
- Author:
- Arda Aydin, Malek Chahine, S. Ali Tokmen
|
Method Summary |
protected boolean |
canGoToNextStep()
|
protected boolean |
canGoToPreviousStep()
|
protected void |
checkStep(org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean.Step... steps)
This method checks if an method (or command) can be called in the current
step. |
protected void |
executeNextStep()
Executes the actions for going to the next step. |
protected void |
executePreviousStep()
Executes the actions for going to the previous step. |
| Methods inherited from class org.ow2.jasmine.jadort.service.implementation.ActionManager |
checkApplication, fetchGroups, fillApplications, fillVMImages, fillWorkerProgressListBasedOnServerProgressList, getServerProgress, getWorkerProgress, isSameApplication, reachAimedServerProgressState, reachAimedWorkerProgressState, refreshActiveSessions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepManager
public StepManager()
canGoToNextStep
protected boolean canGoToNextStep()
- Returns:
- true if going to the next step is allowed, false otherwise.
executeNextStep
protected void executeNextStep()
throws org.ow2.jasmine.jadort.api.JadortServiceException
- Executes the actions for going to the next step.
- Throws:
org.ow2.jasmine.jadort.api.JadortServiceException
canGoToPreviousStep
protected boolean canGoToPreviousStep()
- Returns:
- true if going to the previous step is allowed, false otherwise.
executePreviousStep
protected void executePreviousStep()
throws org.ow2.jasmine.jadort.api.JadortServiceException
- Executes the actions for going to the previous step.
- Throws:
org.ow2.jasmine.jadort.api.JadortServiceException
checkStep
protected void checkStep(org.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean.Step... steps)
throws org.ow2.jasmine.jadort.api.JadortServiceException
- This method checks if an method (or command) can be called in the current
step.
- Parameters:
steps - List of steps that are currently allowed.
- Throws:
org.ow2.jasmine.jadort.api.JadortServiceException - If the current operation is not in one of
the expected states.
Copyright © 2010 OW2 Consortium. All Rights Reserved.