|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.jadort.api.entities.deployment.OperationStateBean
public class OperationStateBean
Bean that represents an operation
| Nested Class Summary | |
|---|---|
static class |
OperationStateBean.ActionState
Different states for a progress action. |
static class |
OperationStateBean.Step
Different steps of an operation. |
| Constructor Summary | |
|---|---|
OperationStateBean()
Default OperationStateBean constructor |
|
| Method Summary | |
|---|---|
void |
addAllServerProgressList(java.util.Collection<ServerProgressBean> serverProgressListToAdd)
|
void |
addAllServerProgressList(ServerProgressBean serverProgressToAdd)
|
void |
addAllWorkerProgressList(java.util.Collection<WorkerProgressBean> workerProgressListToAdd)
|
void |
addAllWorkerProgressList(WorkerProgressBean workerProgressToAdd)
|
boolean |
equals(java.lang.Object obj)
|
int |
getAimedServerProgressProgress()
Get the serverProgress progress to reach |
ServerProgressBean.ServerProgressState |
getAimedServerProgressState()
Get the serverProgress step to reach |
int |
getAimedWorkerProgressProgress()
|
WorkerProgressBean.WorkerProgressState |
getAimedWorkerProgressState()
|
java.util.Set<ServerProgressBean> |
getAllServerProgressList()
|
java.util.Set<WorkerProgressBean> |
getAllWorkerProgressList()
|
ApplicationBean |
getApplication()
Get the application to deploy |
OperationStateBean.Step |
getCurrentStep()
Get the current operation step |
java.util.Date |
getDate()
Get the operation creation date |
java.lang.Integer |
getId()
Get the operation id |
boolean |
getIsDeletable()
|
java.lang.String |
getName()
Get the operation name |
GroupBean |
getSelectedGroup()
Get the selected group |
java.util.List<ServerBean> |
getSelectedServers()
|
java.util.List<ServerProgressBean> |
getServerProgressList()
Get the list of ServerProgressBean that compose the operation |
TopologyBean |
getTopology()
Get the topology |
IJadortService.OperationType |
getType()
|
java.util.List<WorkerProgressBean> |
getWorkerProgressList()
Get the list of WorkerProgressBean that compose the operation |
void |
setAimedServerProgressProgress(int aimedServerProgressProgress)
Set the serverProgress progress to reach |
void |
setAimedServerProgressState(ServerProgressBean.ServerProgressState globalServerProgressState)
Set the serverProgress step to reach |
void |
setAimedWorkerProgressProgress(int aimedWorkerProgressProgress)
|
void |
setAimedWorkerProgressState(WorkerProgressBean.WorkerProgressState aimedWorkerProgressState)
|
void |
setAllServerProgressList(java.util.Set<ServerProgressBean> allServerProgressList)
|
void |
setAllWorkerProgressList(java.util.Set<WorkerProgressBean> allWorkerProgressList)
|
void |
setApplication(ApplicationBean application)
Set the application to deploy |
void |
setCurrentStep(OperationStateBean.Step step)
Set the current operation step |
void |
setDate(java.util.Date date)
Set the operation creation date |
void |
setId(java.lang.Integer id)
Set the operation id |
void |
setName(java.lang.String name)
Set the operation name |
void |
setSelectedGroup(GroupBean selectedGroup)
Set the selected group |
void |
setSelectedServers(java.util.List<ServerBean> selectedServers)
|
void |
setServerProgressList(java.util.List<ServerProgressBean> serverProgressList)
Set the list of ServerProgressBean that compose the operation |
void |
setTopology(TopologyBean topology)
Set the topology |
void |
setType(IJadortService.OperationType type)
|
void |
setWorkerProgressList(java.util.List<WorkerProgressBean> workerProgressList)
Set the list of WorkerProgressBean that compose the operation |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OperationStateBean()
| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
public ServerProgressBean.ServerProgressState getAimedServerProgressState()
public void setAimedServerProgressState(ServerProgressBean.ServerProgressState globalServerProgressState)
globalServerProgressState - the new serverProgress step to reachpublic int getAimedServerProgressProgress()
public void setAimedServerProgressProgress(int aimedServerProgressProgress)
aimedServerProgressProgress - the new serverProgress progress to
reachpublic OperationStateBean.Step getCurrentStep()
public void setCurrentStep(OperationStateBean.Step step)
throws java.lang.IllegalArgumentException
step - the current operation step
java.lang.IllegalArgumentException - If step is OperationStateBean.Step.SELECT_OPERATION
.public GroupBean getSelectedGroup()
public void setSelectedGroup(GroupBean selectedGroup)
selectedGroup - The group to selectpublic TopologyBean getTopology()
public void setTopology(TopologyBean topology)
topology - The topology to setpublic java.util.List<ServerProgressBean> getServerProgressList()
public void setServerProgressList(java.util.List<ServerProgressBean> serverProgressList)
serverProgressList - the new list of ServerProgressBean that compose
the operationpublic IJadortService.OperationType getType()
public void setType(IJadortService.OperationType type)
type - operation type (migrateApplication or maintain)public java.util.List<WorkerProgressBean> getWorkerProgressList()
public void setWorkerProgressList(java.util.List<WorkerProgressBean> workerProgressList)
serverProgressList - the new list of WorkerProgressBean that compose
the operationpublic java.util.List<ServerBean> getSelectedServers()
public void setSelectedServers(java.util.List<ServerBean> selectedServers)
selectedServers - the selected servers listpublic WorkerProgressBean.WorkerProgressState getAimedWorkerProgressState()
public void setAimedWorkerProgressState(WorkerProgressBean.WorkerProgressState aimedWorkerProgressState)
aimedWorkerProgressState - aimed worker progress statepublic int getAimedWorkerProgressProgress()
public void setAimedWorkerProgressProgress(int aimedWorkerProgressProgress)
aimedWorkerProgressProgress - aimed worker progress percentilepublic java.util.Set<ServerProgressBean> getAllServerProgressList()
public void setAllServerProgressList(java.util.Set<ServerProgressBean> allServerProgressList)
allServerProgressList - All (currently active + past)
ServerProgressBean objects of the operationpublic void addAllServerProgressList(java.util.Collection<ServerProgressBean> serverProgressListToAdd)
serverProgressListToAdd - The ServerProgressBean objects to addpublic void addAllServerProgressList(ServerProgressBean serverProgressToAdd)
serverProgressToAdd - The ServerProgressBean to addpublic java.util.Set<WorkerProgressBean> getAllWorkerProgressList()
public void setAllWorkerProgressList(java.util.Set<WorkerProgressBean> allWorkerProgressList)
allWorkerProgressList - All (currently active + past)
WorkerProgressBean objects of the operationpublic void addAllWorkerProgressList(java.util.Collection<WorkerProgressBean> workerProgressListToAdd)
workerProgressListToAdd - The WorkerProgressBean objects to addpublic void addAllWorkerProgressList(WorkerProgressBean workerProgressToAdd)
workerProgressToAdd - The WorkerProgressBean to addpublic ApplicationBean getApplication()
public void setApplication(ApplicationBean application)
application - the application to deploypublic java.util.Date getDate()
public void setDate(java.util.Date date)
date - the operation creation datepublic java.lang.String getName()
public void setName(java.lang.String name)
name - the operation namepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj is an OperationStateBean and the
getId() is the same for both objects,
false otherwise.public boolean getIsDeletable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||