public class GroupImpl extends java.lang.Object implements Group
ST_CANCELLED, ST_ERROR, ST_NEW, ST_RUNNING, ST_SUSPENDED, ST_WAITINGTYPE_LEAF, TYPE_PARALLEL, TYPE_SERIAL| Constructor and Description |
|---|
GroupImpl() |
GroupImpl(Instance grpInst) |
GroupImpl(Instance group,
Instance procInst,
Instance parentGroupInst) |
| Modifier and Type | Method and Description |
|---|---|
CLBrowser |
getBrowser() |
Group[] |
getChildren() |
Instance |
getGrp() |
Instance |
getGrpInst() |
long |
getId() |
org.apache.log4j.Logger |
getLogger() |
java.lang.String |
getName() |
Group |
getParent() |
Group[] |
getSiblings() |
int |
getStatus() |
int |
getType() |
boolean |
hasChildren() |
boolean |
isCancelled() |
boolean |
isError() |
boolean |
isLeaf() |
boolean |
isParallel() |
boolean |
isRunning() |
boolean |
isSerial() |
boolean |
isSuspended() |
boolean |
isTop() |
boolean |
isWaiting() |
void |
resume(boolean force) |
void |
setBrowser(CLBrowser browser) |
void |
setGrp(Instance model) |
void |
setGrpInst(Instance instance) |
void |
setLogger(org.apache.log4j.Logger logger) |
void |
setResponse(java.util.HashMap map) |
void |
setStatus(int status) |
void |
start() |
void |
stop() |
void |
suspend() |
public GroupImpl()
throws PMException
PMExceptionpublic GroupImpl(Instance group, Instance procInst, Instance parentGroupInst) throws PMException
PMExceptionpublic GroupImpl(Instance grpInst) throws PMException
PMExceptionpublic Instance getGrpInst()
getGrpInst in interface Grouppublic void start()
throws PMException
start in interface GroupPMExceptionpublic void suspend()
throws PMException
suspend in interface GroupPMExceptionpublic void resume(boolean force)
throws PMException
resume in interface GroupPMExceptionpublic void stop()
throws PMException
stop in interface GroupPMExceptionpublic void setResponse(java.util.HashMap map)
throws PMException
setResponse in interface GroupPMExceptionpublic Group[] getChildren()
getChildren in interface Grouppublic Group[] getSiblings()
getSiblings in interface Grouppublic boolean isParallel()
isParallel in interface Grouppublic boolean hasChildren()
hasChildren in interface Grouppublic boolean isSuspended()
isSuspended in interface Grouppublic boolean isCancelled()
isCancelled in interface Grouppublic CLBrowser getBrowser()
public void setBrowser(CLBrowser browser)
public org.apache.log4j.Logger getLogger()
public void setLogger(org.apache.log4j.Logger logger)
public void setGrpInst(Instance instance) throws PMException
PMExceptionpublic void setGrp(Instance model)