public class GroupImpl extends java.lang.Object implements Group
ST_CANCELLED, ST_ERROR, ST_NEW, ST_RUNNING, ST_SUSPENDED, ST_WAITING
TYPE_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
PMException
public GroupImpl(Instance group, Instance procInst, Instance parentGroupInst) throws PMException
PMException
public GroupImpl(Instance grpInst) throws PMException
PMException
public Instance getGrpInst()
getGrpInst
in interface Group
public void start() throws PMException
start
in interface Group
PMException
public void suspend() throws PMException
suspend
in interface Group
PMException
public void resume(boolean force) throws PMException
resume
in interface Group
PMException
public void stop() throws PMException
stop
in interface Group
PMException
public void setResponse(java.util.HashMap map) throws PMException
setResponse
in interface Group
PMException
public Group[] getChildren()
getChildren
in interface Group
public Group[] getSiblings()
getSiblings
in interface Group
public boolean isParallel()
isParallel
in interface Group
public boolean hasChildren()
hasChildren
in interface Group
public boolean isSuspended()
isSuspended
in interface Group
public boolean isCancelled()
isCancelled
in interface Group
public 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
PMException
public void setGrp(Instance model)