com.irisel.pm.internal
Class ProcessImpl
java.lang.Object
com.irisel.pm.internal.GroupImpl
com.irisel.pm.internal.ProcessImpl
- All Implemented Interfaces:
- Constants, Group, GroupTypes, Process, Status
public class ProcessImpl
- extends GroupImpl
- implements Process
Methods inherited from class com.irisel.pm.internal.GroupImpl |
getBrowser, getChildren, getGrp, getGrpInst, getId, getLogger, getName, getSiblings, getType, hasChildren, isCancelled, isError, isLeaf, isParallel, isRunning, isSerial, isSuspended, isTop, isWaiting, resume, setBrowser, setGrp, setGrpInst, setLogger, setResponse, stop, suspend |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.irisel.pm.Group |
getChildren, getGrp, getGrpInst, getId, getName, getSiblings, getType, hasChildren, isCancelled, isError, isLeaf, isParallel, isRunning, isSerial, isSuspended, isTop, isWaiting, resume, setResponse, stop, suspend |
ProcessImpl
public ProcessImpl()
throws PMException
- Throws:
PMException
ProcessImpl
public ProcessImpl(long procId,
long focusId)
throws PMException
- Throws:
PMException
ProcessImpl
public ProcessImpl(Instance procInst)
throws PMException
- Throws:
PMException
getFocusId
public long getFocusId()
getStatusReason
public java.lang.String getStatusReason()
setStatusReason
public void setStatusReason(java.lang.String statusReason)
getProcess
public Instance getProcess()
getProcId
public long getProcId()
getParent
public Group getParent()
- Specified by:
getParent
in interface Group
- Overrides:
getParent
in class GroupImpl
main
public static void main(java.lang.String[] args)
getProcInst
public Instance getProcInst()
- Specified by:
getProcInst
in interface Process
getProc
public Instance getProc()
- Specified by:
getProc
in interface Process
getProcess
public static Instance getProcess(long procid)
throws PMException
- Throws:
PMException
getProcessRootGroup
public Instance getProcessRootGroup(Instance iProc)
throws QueryTreeException
- Throws:
QueryTreeException
start
public void start()
- Specified by:
start
in interface Group
- Overrides:
start
in class GroupImpl
save
public void save()
throws PMException
- Throws:
PMException
getStatus
public int getStatus()
- Specified by:
getStatus
in interface Group
- Overrides:
getStatus
in class GroupImpl
setStatus
public void setStatus(int status)
- Specified by:
setStatus
in interface Group
- Overrides:
setStatus
in class GroupImpl