|
||||||||||
| 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.ServerProgressBean
public class ServerProgressBean
Bean that represents the progress of the operations a server.
| Nested Class Summary | |
|---|---|
static class |
ServerProgressBean.ServerProgressState
Different possible progress states of a serverProgress. |
| Constructor Summary | |
|---|---|
ServerProgressBean()
Default ServerProgressBean constructor |
|
ServerProgressBean(ServerBean server)
Construct a ServerProgressBean with its associated server |
|
| Method Summary | |
|---|---|
void |
appendToLog(java.lang.String string)
Add log to the serverProgress log. |
boolean |
equals(java.lang.Object obj)
|
OperationStateBean.ActionState |
getActionState()
Get serverProgress state. |
java.lang.Integer |
getId()
Get the serverProgress id |
java.lang.String |
getLog()
Get the serverProgress log |
java.lang.String |
getNewApplication()
New application name getter. |
java.lang.String |
getOldApplication()
Old application name getter |
int |
getProgress()
Percent of progress getter |
ServerBean |
getServer()
Server getter |
java.lang.String |
getServerName()
Returns the name of the server associated with this serverProgress |
ServerProgressBean.ServerProgressState |
getServerProgressState()
Get the serverProgress progress state |
java.lang.String |
getState()
Return the serverProgress state in String format : WAITING --> "Waiting" RUNNING --> "Running" FINISHED_OK -- > "Done OK" FINISHED_ERROR --> "Error !" |
boolean |
hasOldVersion()
|
void |
setActionState(OperationStateBean.ActionState actionState)
Set serverProgress state. |
void |
setId(java.lang.Integer id)
Set the serverProgress id |
void |
setLog(java.lang.String log)
Set the serverProgress log |
void |
setNewApplication(java.lang.String newApplication)
New application name setter. |
void |
setOldApplication(java.lang.String oldApplication)
Old application name setter. |
void |
setProgress(int progress)
Deployment progress setter. |
void |
setServer(ServerBean server)
Change the associated server |
void |
setServerProgressState(ServerProgressBean.ServerProgressState serverProgressState)
Set the serverProgress progress state |
void |
setState(java.lang.String state)
Do not use this method, needs to be here to satisfy ActionScript |
java.lang.String |
toString()
|
| 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 ti the depoyment| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - the serverProgress idpublic ServerBean getServer()
public void setServer(ServerBean server)
server - New associated serverpublic java.lang.String getServerName()
public java.lang.String getState()
public void setState(java.lang.String state)
state - public java.lang.String getOldApplication()
public void setOldApplication(java.lang.String oldApplication)
oldApplication - Old application namepublic boolean hasOldVersion()
public java.lang.String getNewApplication()
public void setNewApplication(java.lang.String newApplication)
newApplication - New application namepublic int getProgress()
public void setProgress(int progress)
progress - The progress percent to set.public java.lang.String getLog()
public void setLog(java.lang.String log)
log - The log to set for this serverProgresspublic void appendToLog(java.lang.String string)
string - The log to add for this serverProgresspublic ServerProgressBean.ServerProgressState getServerProgressState()
public void setServerProgressState(ServerProgressBean.ServerProgressState serverProgressState)
serverProgressState - the serverProgress progress state to setpublic OperationStateBean.ActionState getActionState()
public void setActionState(OperationStateBean.ActionState actionState)
actionState - Deployment state to set.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 | |||||||||