|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
GridCommandManager is the backend component of gridface guis to access cog-abstraction module.
| Method Summary | |
void |
addStatusListener(StatusListener listener)
add listener |
boolean |
cancel(Identity id)
Cancel the command that has the given id |
boolean |
cancel(String id)
Cancel the command that has the given id |
Identity |
execute(GridCommand command,
boolean inBackground)
Execute the grid command. |
Identity |
execute(GridCommand command,
boolean inBackground,
Enumeration idList)
Execute the grid command. |
Enumeration |
getActiveCommands()
Get a list of all commands with current status as ACTIVE |
Enumeration |
getAllCommands()
Get a list of all commands submitted to GCM |
Enumeration |
getCanceledCommands()
Get a list of all commands with current status as CANCELED |
Enumeration |
getCompletedCommands()
Get a list of all commands with current status as COMPLETED |
Enumeration |
getFailedCommands()
Get a list of all commands with current status as FAILED |
Scheduler |
getScheduler()
Get the scheduler currently used |
Status |
getStatus(Identity id)
Get the status of the given command |
Status |
getStatus(String id)
Get the status of the given command |
Enumeration |
getSubmittedCommands()
Get a list of all commands with current status as SUBMITTED |
Enumeration |
getSuspendedCommands()
Get a list of all commands with current status as SUSPENDED |
Enumeration |
getUnsubmittedCommands()
Get a list of all commands with current status as UNSUBMITTED |
void |
removeStatusListener(StatusListener listener)
remove listener |
boolean |
resume(Identity id)
Resume the command that has the given id, |
void |
setPriorities(long id,
int priority)
Set priority for executing the command with given id |
void |
setScheduler(Scheduler scheduler)
Set a scheduler for scheduling events submitted to GCM |
boolean |
suspend(Identity id)
Syspend the command that has the given id, |
void |
toXML(String fileName)
Save the state of GCM into an XML file |
| Methods inherited from interface org.globus.cog.gridface.impl.desktop.interfaces.AccessDesktop |
getDesktop, setDesktop |
| Method Detail |
public Identity execute(GridCommand command,
boolean inBackground)
throws Exception
Exception
public Identity execute(GridCommand command,
boolean inBackground,
Enumeration idList)
throws Exception
Exceptionpublic Status getStatus(String id)
public Status getStatus(Identity id)
public boolean cancel(String id)
throws Exception
Exception
public boolean cancel(Identity id)
throws Exception
Exception
public boolean suspend(Identity id)
throws Exception
Exception
public boolean resume(Identity id)
throws Exception
Exceptionpublic Enumeration getAllCommands()
public Enumeration getUnsubmittedCommands()
public Enumeration getSubmittedCommands()
public Enumeration getActiveCommands()
public Enumeration getFailedCommands()
public Enumeration getCompletedCommands()
public Enumeration getSuspendedCommands()
public Enumeration getCanceledCommands()
public void setPriorities(long id,
int priority)
throws Exception
Exception
public void setScheduler(Scheduler scheduler)
throws Exception
Exception
public Scheduler getScheduler()
throws Exception
Exception
public void toXML(String fileName)
throws Exception
Exceptionpublic void addStatusListener(StatusListener listener)
public void removeStatusListener(StatusListener listener)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||