|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IJadortService
IJadortService interface defines all methods used for the serverProgress orchestration
| Nested Class Summary | |
|---|---|
static class |
IJadortService.OperationType
Operation types. |
| Method Summary | |
|---|---|
void |
abortServer(ServerBean server)
this function forces the server to be aborted and continues this task |
void |
abortWorker(WorkerBean worker)
this function forces the worker to be aborted and continues this task |
boolean |
canGoToNextStep()
Tests if it is allowed to go to the next step |
boolean |
canGoToPreviousStep()
Tests if it is allowed to go the previous step |
boolean |
checkServer(ServerBean server)
this function checks if no problem on the server and all problems are resolved on the server. |
boolean |
checkWorker(WorkerBean worker)
this function checks if no problem on the worker and all problems are resolved on the worker. |
void |
createApplication(java.net.URL url)
Create a new application |
void |
createNewOperation(java.lang.String newOperationName)
Create a new operation |
void |
deleteOperation(OperationStateBean operation)
Delete an Operation from the operation list |
int |
getActiveSessions()
|
ApplicationBean |
getApplication()
Get the current application |
OperationStateBean |
getCurrentOperation()
Returns the current operation |
OperationStateBean.Step |
getCurrentStep()
Returns the current Step of the current operation |
java.util.List<GroupBean> |
getGroups()
Returns the list of groups obtained from the loaded topology in the current operation |
java.util.List<OperationStateBean> |
getOperationsList()
Returns the list of operations |
GroupBean |
getSelectedGroup()
Returns the selected Group in the current operation |
java.util.List<ServerBean> |
getSelectedServers()
This function allows to get the list of selected servers when maintain servers |
java.util.List<ServerProgressBean> |
getServerProgressList()
Returns the list of server ServerProgressBean in the current operation. |
java.util.List<ServerBean> |
getServers()
This function allows to get the list of servers. |
java.util.List<WorkerProgressBean> |
getWorkerProgressList()
Returns the list of server WorkerProgressBean in the current operation |
void |
ignoreServer(ServerBean server)
this function forces the server to be ignored and continues this task |
void |
ignoreWorker(WorkerBean worker)
this function forces the worker to be ignored and continues this task |
void |
loadTopology(java.io.File xmlTopoFile)
Loads the topology from a .xml file. |
void |
next()
goes to next step |
void |
previous()
Goes back to the previous step. |
void |
restartServer(ServerBean server)
This function allows to restart a task on a server (the server will restart the last task) |
void |
restartWorker(WorkerBean worker)
This function allows to restart a task on a worker (the worker will restart the last task) |
void |
selectGroup(GroupBean selectedGroup,
IJadortService.OperationType operationType)
Select a group from the group list |
void |
selectOperation(OperationStateBean operation)
Select an Operation from the operation list |
void |
selectServers(java.util.List<ServerBean> selectedServers)
Select the servers to maintain |
| Method Detail |
|---|
OperationStateBean.Step getCurrentStep()
throws JadortServiceException
JadortServiceException
java.util.List<OperationStateBean> getOperationsList()
throws JadortServiceException
JadortServiceException
void deleteOperation(OperationStateBean operation)
throws JadortServiceException
operation - the operation to be deleted
JadortServiceException
void selectOperation(OperationStateBean operation)
throws JadortServiceException
operation - the operation to be selected
JadortServiceException
void createNewOperation(java.lang.String newOperationName)
throws JadortServiceException
newOperationName - the name of the new operation that will be
created
JadortServiceException
OperationStateBean getCurrentOperation()
throws JadortServiceException
JadortServiceException
boolean canGoToNextStep()
throws JadortServiceException
next() is allowed, false
otherwise.
JadortServiceException
void next()
throws JadortServiceException
JadortServiceExceptioncanGoToNextStep()
boolean canGoToPreviousStep()
throws JadortServiceException
previous() is allowed,
false otherwise.
JadortServiceException
void previous()
throws JadortServiceException
JadortServiceExceptioncanGoToPreviousStep()
void loadTopology(java.io.File xmlTopoFile)
throws JadortServiceException
xmlTopoFile - the file path of the .xml file uploaded by the user,
this file contains the topology description
JadortServiceException
java.util.List<GroupBean> getGroups()
throws JadortServiceException
JadortServiceException
void selectGroup(GroupBean selectedGroup,
IJadortService.OperationType operationType)
throws JadortServiceException
selectedGroup - the group to be selected
JadortServiceException
java.util.List<ServerProgressBean> getServerProgressList()
throws JadortServiceException
JadortServiceException
java.util.List<WorkerProgressBean> getWorkerProgressList()
throws JadortServiceException
JadortServiceException
GroupBean getSelectedGroup()
throws JadortServiceException
JadortServiceException
int getActiveSessions()
throws JadortServiceException
JadortServiceException
void restartServer(ServerBean server)
throws JadortServiceException
server - the server on which the task will be restarted
JadortServiceException
boolean checkServer(ServerBean server)
throws JadortServiceException
server - the server that will be checked
JadortServiceExceptionIJadortService#ignoreServer()
void ignoreServer(ServerBean server)
throws JadortServiceException
server - the server that will be ignored
JadortServiceException
void abortServer(ServerBean server)
throws JadortServiceException
server - the server that will be aborted
JadortServiceException
void createApplication(java.net.URL url)
throws JadortServiceException
url - URL where to fetch the application. Can be local, remote
(HTTP, FTP, ...)
JadortServiceException
ApplicationBean getApplication()
throws JadortServiceException
JadortServiceException
void selectServers(java.util.List<ServerBean> selectedServers)
throws JadortServiceException
selectedServers - the servers to maintain
JadortServiceException
java.util.List<ServerBean> getServers()
throws JadortServiceException
JadortServiceException
java.util.List<ServerBean> getSelectedServers()
throws JadortServiceException
JadortServiceException
void restartWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker on which the task will be restarted
JadortServiceException
boolean checkWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker that will be checked
JadortServiceExceptionIJadortService#ignoreWorker()
void ignoreWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker that will be ignored
JadortServiceException
void abortWorker(WorkerBean worker)
throws JadortServiceException
worker - the worker that will be aborted
JadortServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||