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