com.irisel.pm.internal
Class GroupImpl
java.lang.Object
com.irisel.pm.internal.GroupImpl
- All Implemented Interfaces:
- Constants, Group, GroupTypes, Status
- Direct Known Subclasses:
- ProcessImpl
public class GroupImpl
- extends java.lang.Object
- implements Group
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupImpl
public GroupImpl()
throws PMException
- Throws:
PMException
GroupImpl
public GroupImpl(Instance group,
Instance procInst,
Instance parentGroupInst)
throws PMException
- Throws:
PMException
GroupImpl
public GroupImpl(Instance grpInst)
throws PMException
- Throws:
PMException
getName
public java.lang.String getName()
- Specified by:
getName
in interface Group
getType
public int getType()
- Specified by:
getType
in interface Group
getStatus
public int getStatus()
- Specified by:
getStatus
in interface Group
getId
public long getId()
- Specified by:
getId
in interface Group
getGrp
public Instance getGrp()
- Specified by:
getGrp
in interface Group
getGrpInst
public Instance getGrpInst()
- Specified by:
getGrpInst
in interface Group
start
public void start()
throws PMException
- Specified by:
start
in interface Group
- Throws:
PMException
suspend
public void suspend()
throws PMException
- Specified by:
suspend
in interface Group
- Throws:
PMException
resume
public void resume(boolean force)
throws PMException
- Specified by:
resume
in interface Group
- Throws:
PMException
stop
public void stop()
throws PMException
- Specified by:
stop
in interface Group
- Throws:
PMException
setResponse
public void setResponse(java.util.HashMap map)
throws PMException
- Specified by:
setResponse
in interface Group
- Throws:
PMException
getParent
public Group getParent()
- Specified by:
getParent
in interface Group
getChildren
public Group[] getChildren()
- Specified by:
getChildren
in interface Group
getSiblings
public Group[] getSiblings()
- Specified by:
getSiblings
in interface Group
isTop
public boolean isTop()
- Specified by:
isTop
in interface Group
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface Group
isSerial
public boolean isSerial()
- Specified by:
isSerial
in interface Group
isParallel
public boolean isParallel()
- Specified by:
isParallel
in interface Group
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren
in interface Group
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface Group
isWaiting
public boolean isWaiting()
- Specified by:
isWaiting
in interface Group
isSuspended
public boolean isSuspended()
- Specified by:
isSuspended
in interface Group
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interface Group
isError
public boolean isError()
- Specified by:
isError
in interface Group
getBrowser
public CLBrowser getBrowser()
setBrowser
public void setBrowser(CLBrowser browser)
getLogger
public org.apache.log4j.Logger getLogger()
setLogger
public void setLogger(org.apache.log4j.Logger logger)
setGrpInst
public void setGrpInst(Instance instance)
throws PMException
- Throws:
PMException
setGrp
public void setGrp(Instance model)
setStatus
public void setStatus(int status)
- Specified by:
setStatus
in interface Group