|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.jadort.api.entities.topology.ServerBean
public class ServerBean
Bean represents a application server
| Nested Class Summary | |
|---|---|
static class |
ServerBean.Type
Server type. |
| Constructor Summary | |
|---|---|
ServerBean()
Default ServerBean constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getActiveSessions()
|
java.util.List<ApplicationBean> |
getApplications()
Get the applications list for this server. |
int |
getCapacity()
Get the server capacity |
java.lang.Integer |
getId()
Get the server id |
ConnectorBean |
getManagerConnector()
Get the server manager connector |
java.lang.String |
getName()
Get the server name |
boolean |
getProcessed()
|
ConnectorBean |
getServerConnector()
Get the server connector |
ServerBean |
getTarget()
|
ServerBean.Type |
getType()
|
VMBean |
getVm()
Get the VM this server is running on |
void |
setActiveSessions(int activeSessions)
|
void |
setApplications(java.util.List<ApplicationBean> applications)
Set the applications list for this server. |
void |
setCapacity(int capacity)
Set the server capacity |
void |
setId(java.lang.Integer id)
Set the server id |
void |
setManagerConnector(ConnectorBean managerConnector)
Set the server manager connector |
void |
setName(java.lang.String name)
Set the server name |
void |
setProcessed(boolean processed)
|
void |
setServerConnector(ConnectorBean serverConnector)
Set the server connector |
void |
setTarget(ServerBean target)
|
void |
setType(ServerBean.Type type)
|
void |
setVm(VMBean vm)
Set the VM this server is running on |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServerBean()
| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - the server idpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the server namepublic int getCapacity()
public void setCapacity(int capacity)
capacity - the server capacitypublic ConnectorBean getServerConnector()
public void setServerConnector(ConnectorBean serverConnector)
serverConnector - the server connectorpublic ConnectorBean getManagerConnector()
public void setManagerConnector(ConnectorBean managerConnector)
serverConnector - the server manager connectorpublic int getActiveSessions()
public void setActiveSessions(int activeSessions)
activeSessions - The number of active sessions on this server:
public boolean getProcessed()
public ServerBean getTarget()
public void setProcessed(boolean processed)
processed - Whether the server process (maintenance or migration) is
complete.public ServerBean.Type getType()
public void setType(ServerBean.Type type)
type - server typepublic void setTarget(ServerBean target)
target - Target server (used when maintaining with a switch to
another server configuration)public VMBean getVm()
public void setVm(VMBean vm)
vm - VM the server is running onpublic java.util.List<ApplicationBean> getApplications()
public void setApplications(java.util.List<ApplicationBean> applications)
applications - The applications list to set for this serverpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj is a ServerBean 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 | |||||||||