com.irisel.pm
Interface Group

All Superinterfaces:
Constants, GroupTypes, Status
All Known Subinterfaces:
Process
All Known Implementing Classes:
GroupImpl, ProcessImpl

public interface Group
extends Constants


Field Summary
 
Fields inherited from interface com.irisel.pm.Status
ST_CANCELLED, ST_ERROR, ST_NEW, ST_RUNNING, ST_SUSPENDED, ST_WAITING
 
Fields inherited from interface com.irisel.pm.GroupTypes
TYPE_LEAF, TYPE_PARALLEL, TYPE_SERIAL
 
Method Summary
 Group[] getChildren()
           
 Instance getGrp()
           
 Instance getGrpInst()
           
 long getId()
           
 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 setResponse(java.util.HashMap map)
           
 void setStatus(int st_suspended)
           
 void start()
           
 void stop()
           
 void suspend()
           
 

Method Detail

getName

java.lang.String getName()

getType

int getType()

getStatus

int getStatus()

getId

long getId()

getGrp

Instance getGrp()

getGrpInst

Instance getGrpInst()

start

void start()
           throws PMException
Throws:
PMException

suspend

void suspend()
             throws PMException
Throws:
PMException

resume

void resume(boolean force)
            throws PMException
Throws:
PMException

stop

void stop()
          throws PMException
Throws:
PMException

setResponse

void setResponse(java.util.HashMap map)
                 throws PMException
Throws:
PMException

setStatus

void setStatus(int st_suspended)

getParent

Group getParent()

getChildren

Group[] getChildren()

getSiblings

Group[] getSiblings()

isTop

boolean isTop()

isLeaf

boolean isLeaf()

isSerial

boolean isSerial()

isParallel

boolean isParallel()

hasChildren

boolean hasChildren()

isRunning

boolean isRunning()

isWaiting

boolean isWaiting()

isSuspended

boolean isSuspended()

isCancelled

boolean isCancelled()

isError

boolean isError()