|
||||||||||
| 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.ProgressBean<ServerProgressState>
org.ow2.jasmine.jadort.api.entities.deployment.ServerProgressBean
public class ServerProgressBean
Bean that represents the progress of the operations a server.
| Constructor Summary | |
|---|---|
ServerProgressBean()
Default ServerProgressBean constructor |
|
ServerProgressBean(ServerBean server)
Construct a ServerProgressBean with its associated server |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
OperationStateBean.ActionState |
getActionState()
Get the deployment's action state |
java.lang.Integer |
getId()
Get the ServerProgressBean id |
boolean |
getIsOnTarget()
|
java.lang.String |
getLog()
Get the deployment log |
java.lang.String |
getNewDeploymentItem()
|
java.lang.String |
getOldDeploymentItem()
|
int |
getProgress()
|
ServerProgressState |
getProgressState()
Get the deployment's progress state |
ServerBean |
getServer()
Server getter |
java.lang.String |
getServerName()
Returns the name of the server associated with this ServerProgressBean |
VMImageBean |
getVmImage()
Get the VM Image to deploy |
boolean |
hasOldDeploymentItem()
|
void |
setActionState(OperationStateBean.ActionState actionState)
Set the deployment's action state |
void |
setId(java.lang.Integer id)
Set the ServerProgressBean id |
void |
setIsOnTarget(boolean isOnTarget)
|
void |
setLog(java.lang.String log)
Set the deployment log |
void |
setNewDeploymentItem(java.lang.String newDeploymentItem)
|
void |
setOldDeploymentItem(java.lang.String oldDeploymentItem)
|
void |
setProgress(int progressPercent)
|
void |
setProgressState(ServerProgressState serverProgressState)
Set the deployment's progress state |
void |
setServer(ServerBean server)
Change the associated server |
void |
setVmImage(VMImageBean vmImage)
Set the VM Image to deploy |
java.lang.String |
toString()
|
| Methods inherited from class org.ow2.jasmine.jadort.api.entities.deployment.ProgressBean |
|---|
appendToLog, getState, setState |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerProgressBean()
public ServerProgressBean(ServerBean server)
server - The server associated the deployment| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - the ServerProgressBean idpublic ServerBean getServer()
public void setServer(ServerBean server)
server - New associated serverpublic java.lang.String getServerName()
public java.lang.String getLog()
getLog in class ProgressBean<ServerProgressState>public void setLog(java.lang.String log)
setLog in class ProgressBean<ServerProgressState>log - Deployment logpublic java.lang.String getOldDeploymentItem()
IJadortService.OperationType.MIGRATE, it is
the name of the old application's pathIJadortService.OperationType.MAINTAIN with
a VM maintenance, it is the name of the old VM host's namepublic void setOldDeploymentItem(java.lang.String oldDeploymentItem)
oldDeploymentItem - The old deployment item. Currently, it
represents either:
IJadortService.OperationType.MIGRATE, it is
the name of the old application's pathIJadortService.OperationType.MAINTAIN with a
VM maintenance, it is the name of the old VM host's namepublic java.lang.String getNewDeploymentItem()
IJadortService.OperationType.MIGRATE, it is
the name of the new application's pathIJadortService.OperationType.MAINTAIN with
a VM maintenance, it is the name of the new VM host's namepublic void setNewDeploymentItem(java.lang.String newDeploymentItem)
newDeploymentItem - The new deployment item. Currently, it
represents either:
IJadortService.OperationType.MIGRATE, it is
the name of the new application's pathIJadortService.OperationType.MAINTAIN with a
VM maintenance, it is the name of the new VM host's namepublic boolean hasOldDeploymentItem()
public VMImageBean getVmImage()
public void setVmImage(VMImageBean vmImage)
VMImage - the VM Image to deploypublic ServerProgressState getProgressState()
getProgressState in class ProgressBean<ServerProgressState>public void setProgressState(ServerProgressState serverProgressState)
setProgressState in class ProgressBean<ServerProgressState>serverProgressState - Deployment progress statepublic OperationStateBean.ActionState getActionState()
getActionState in class ProgressBean<ServerProgressState>public void setActionState(OperationStateBean.ActionState actionState)
setActionState in class ProgressBean<ServerProgressState>actionState - Deployment action statepublic int getProgress()
getProgress in class ProgressBean<ServerProgressState>public void setProgress(int progressPercent)
setProgress in class ProgressBean<ServerProgressState>progressPercent - The ProgressBean's progress (percents)public boolean getIsOnTarget()
public void setIsOnTarget(boolean isOnTarget)
isOnTarget - Whether the current ServerProgressBean is doing
operations on the target of the ServerBean.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj is a ServerProgressBean and the
getId() is the same for both objects,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||