|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.jadort.client.console.JadortCommand
public class JadortCommand
Interface to call method on JaDOrT service
| Constructor Summary | |
|---|---|
JadortCommand(IJadortService jadortService)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
canGoToNextStep()
ask the service if it is ready to go to the next step |
boolean |
canGoToPreviousStep()
ask the service if it is ready to go to the previous step |
boolean |
checkServer(ServerBean server)
Check if the server is ready to go to the next step. |
boolean |
checkWorker(WorkerBean worker)
Check if the worker is ready to go to the next step. |
OperationStateBean |
createNewOperation(String newOperationName)
Create a new operation and return it |
void |
deleteOperation(OperationStateBean operation)
Delete an operation |
Integer |
getActiveSessions()
|
OperationStateBean.Step |
getCurrentStep()
Return the current operation step |
List<GroupBean> |
getGroups()
Get the groups |
List<OperationStateBean> |
getOperationsList()
Return the operation list |
GroupBean |
getSelectedGroup()
Return the selected group |
List<ServerProgressBean> |
getServerProgressList()
Return the list of the serverProgressList |
List<VMImageBean> |
getVMImages()
get VM Image List |
List<WorkerProgressBean> |
getWorkerProgressList()
Return the list of the workerProgress |
void |
ignoreServer(ServerBean server)
Ignore the error state of a server. |
void |
ignoreWorker(WorkerBean worker)
Ignore the error state of a worker. |
void |
loadTopology(File xmlTopoFile)
Load a topology file |
void |
next()
Go to the next step |
void |
previous()
Go to the previous step |
void |
restartServer(ServerBean server)
Restart the last tried deployment operation on a server. |
void |
restartWorker(WorkerBean worker)
Restart the last tried worker task on a worker. |
ApplicationBean |
selectApplication(URL url)
Create a application from an archive |
void |
selectGroup(GroupBean selectedGroup)
Select a group |
void |
selectOperation(OperationStateBean operation)
Select an operation on the JaDOrT service |
void |
selectOperationType(IJadortService.OperationType operationType)
Select an operation type on the JaDOrT service |
void |
selectServers(List<ServerBean> selectedServers)
Select servers |
void |
selectVMImage(VMImageBean vmImage)
Select a VM Image |
void |
selectVMImage(VMImageBean vmImage,
ServerBean server)
Select a VM Image from the VM Images list for a given server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JadortCommand(IJadortService jadortService)
JaDOrT - The instance of interface of JaDOrT service| Method Detail |
|---|
public OperationStateBean createNewOperation(String newOperationName)
throws Exception
newOperationName - Name of the operation to create
Exception
public List<OperationStateBean> getOperationsList()
throws Exception
Exception
public void selectOperation(OperationStateBean operation)
throws Exception
operation - The operation to select
Exception
public void deleteOperation(OperationStateBean operation)
throws Exception
operation - the operation to delete
Exception
public void loadTopology(File xmlTopoFile)
throws Exception
xmlTopoFile - xml topology file to load
Exception
public List<GroupBean> getGroups()
throws Exception
Exception
public void selectGroup(GroupBean selectedGroup)
throws Exception
selectedGroup - the group to select
Exception
public void selectOperationType(IJadortService.OperationType operationType)
throws Exception
operationType - The operation type
Exception
public void selectVMImage(VMImageBean vmImage)
throws Exception
vmImage - the VM Image to select
Exception
public void selectVMImage(VMImageBean vmImage,
ServerBean server)
throws Exception
selectedVMImage - the VM Image to be selectedserver - the server on which this image shall be deployed
Exception
public List<VMImageBean> getVMImages()
throws Exception
Exception
public void selectServers(List<ServerBean> selectedServers)
throws Exception
selectServers - the servers list to select
Exception
public GroupBean getSelectedGroup()
throws Exception
Exception
public Integer getActiveSessions()
throws Exception
Exception
public ApplicationBean selectApplication(URL url)
throws Exception
url - url of the archive
Exception
public OperationStateBean.Step getCurrentStep()
throws Exception
Exception
public boolean canGoToNextStep()
throws Exception
Exception
public void next()
throws Exception
Exception
public boolean canGoToPreviousStep()
throws Exception
Exception
public void previous()
throws Exception
Exception
public List<ServerProgressBean> getServerProgressList()
throws Exception
Exception
public List<WorkerProgressBean> getWorkerProgressList()
throws Exception
Exception
public void restartServer(ServerBean server)
throws Exception
server - the server to use
Exception
public void ignoreServer(ServerBean server)
throws Exception
server - the server to use
Exception
public boolean checkServer(ServerBean server)
throws Exception
server - the server to use
Exception
public void restartWorker(WorkerBean worker)
throws Exception
worker - the worker to use
Exception
public void ignoreWorker(WorkerBean worker)
throws Exception
worker - the worker to use
Exception
public boolean checkWorker(WorkerBean worker)
throws Exception
worker - the worker to use
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||