StarOffice 5.2 API
reverse engineered by classdoc

stardiv.resource
Class Task

java.lang.Object
  |
  +--stardiv.resource.Task
Direct Known Subclasses:
stardiv.js.ip.RootTask

public synchronized class Task
extends java.lang.Object


Field Summary
static int ASYNCHRON
           
static int FAST
           
static int HASTHREAD
           
static int TRANSACTED
           
private  java.lang.String aName
           
private  boolean bActive
           
private  boolean bError
           
private  boolean bReady
           
private  boolean bTerminated
           
private  int iTypeFlags
           
(package private)  stardiv.resource.TaskManager xCurMgr
           
(package private)  stardiv.resource.Task[] xPrevTasks
           
private  stardiv.resource.ResourceList xResources
           
 
Constructor Summary
Task(java.lang.String s, stardiv.resource.ResourceList rl, int i)
           
 
Method Summary
 void changeToNotTransacted()
           
 boolean getError()
           
 java.lang.String getName()
           
 stardiv.resource.ResourceList getResources()
           
 int getTypeFlags()
           
(package private)  void init(java.lang.String s, int i)
           
 boolean isActive()
           
 boolean isReady()
           
 boolean isTerminated()
           
 boolean needTasks(stardiv.resource.Task t)
           
 void ready()
           
(package private)  void reset()
           
 void run()
           
 void schedule()
           
 void setActive(boolean b)
           
 void setError()
           
 void setPreviousTasks(stardiv.resource.Task[] t)
           
 void setTerminated()
           
 void terminate()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASYNCHRON

public static final int ASYNCHRON

FAST

public static final int FAST

HASTHREAD

public static final int HASTHREAD

TRANSACTED

public static final int TRANSACTED

aName

private java.lang.String aName

bActive

private boolean bActive

bError

private boolean bError

bReady

private boolean bReady

bTerminated

private boolean bTerminated

iTypeFlags

private int iTypeFlags

xCurMgr

stardiv.resource.TaskManager xCurMgr

xPrevTasks

stardiv.resource.Task[] xPrevTasks

xResources

private stardiv.resource.ResourceList xResources
Constructor Detail

Task

public Task(java.lang.String s,
            stardiv.resource.ResourceList rl,
            int i)
Method Detail

changeToNotTransacted

public final void changeToNotTransacted()

getError

public final boolean getError()

getName

public final java.lang.String getName()

getResources

public final stardiv.resource.ResourceList getResources()

getTypeFlags

public final int getTypeFlags()

init

final void init(java.lang.String s,
                int i)

isActive

public final boolean isActive()

isReady

public final boolean isReady()

isTerminated

public final boolean isTerminated()

needTasks

public final boolean needTasks(stardiv.resource.Task t)

ready

public void ready()

reset

final void reset()

run

public void run()
         throws stardiv.resource.ResourceLockException

schedule

public final void schedule()
                    throws stardiv.resource.ResourceLockException

setActive

public final void setActive(boolean b)

setError

public final void setError()

setPreviousTasks

public final void setPreviousTasks(stardiv.resource.Task[] t)

setTerminated

public final void setTerminated()

terminate

public void terminate()

toString

public java.lang.String toString()
Overrides:
toString in class ProgramElementDocImpl

StarOffice 5.2 API
reverse engineered by classdoc