|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.syrup.helpers.PTaskImpl
A generic PTask Implementation.
| Constructor Summary | |
PTaskImpl(java.lang.String parentKey,
java.lang.String key,
boolean or_type,
java.lang.String function_class,
java.lang.String name,
java.lang.String description,
java.lang.String parameter,
java.lang.String environment,
boolean done,
long creation_time,
long modification_time,
long modifications,
boolean executable,
java.lang.String worker,
boolean isParent)
Constructor for the PTaskImpl object |
|
| Method Summary | |
long |
creationTime()
Returns the creation time of a PTask. |
java.lang.String |
description()
Returns the defined description of a Task. |
boolean |
done()
Returns true if this PTask is done. |
java.lang.String |
environment()
Returns the logical environment of the Task. |
boolean |
executable()
Returns true if this PTask is executable. |
java.lang.String |
functionClass()
Returns the classname of the Function. |
boolean |
isParent()
Returns true if this PTask is a parent. |
java.lang.String |
key()
Returns the key that the WorkSpace uses to identify a PTask. |
long |
modifications()
Returns the number of modifications since creation. |
long |
modificationTime()
Returns the last modification time since creation. |
java.lang.String |
name()
Returns the defined name of a Task. |
boolean |
orType()
Returns true if the type is OR. |
java.lang.String |
parameter()
Returns the static parameter to parameterize the Task. |
java.lang.String |
parentKey()
Returns the parent identifier. |
java.lang.String |
toString()
|
java.lang.String |
worker()
Returns the Worker's address (URL) that is currently executing this PTask. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PTaskImpl(java.lang.String parentKey,
java.lang.String key,
boolean or_type,
java.lang.String function_class,
java.lang.String name,
java.lang.String description,
java.lang.String parameter,
java.lang.String environment,
boolean done,
long creation_time,
long modification_time,
long modifications,
boolean executable,
java.lang.String worker,
boolean isParent)
parentKey - The parentKey attribute.key - The key attribute.or_type - the orType attribute.function_class - The functionClass attribute.name - The name attribute.description - The description attribute.environment - The environment attribute.parameter - The parameter attributedone - The done attribute.creation_time - The creationTime attribute.modification_time - The modificationTime attribute.modifications - The modifications attribute.executable - The executable attribute.worker - The worker attribute.isParent - The isParent attribute.| Method Detail |
public java.lang.String name()
Task
name in interface Taskpublic java.lang.String description()
Task
description in interface Taskpublic java.lang.String environment()
Task
environment in interface Taskpublic java.lang.String functionClass()
Task
functionClass in interface Taskpublic boolean orType()
Task
orType in interface Taskpublic java.lang.String parameter()
Task
parameter in interface Taskpublic java.lang.String parentKey()
PTask
parentKey in interface PTaskPTask.key()public java.lang.String key()
PTask
key in interface PTaskpublic long modifications()
PTask
modifications in interface PTaskpublic long modificationTime()
PTask
modificationTime in interface PTaskpublic long creationTime()
PTask
creationTime in interface PTaskpublic boolean executable()
PTask
executable in interface PTaskpublic boolean done()
PTask
done in interface PTaskpublic java.lang.String worker()
PTask
worker in interface PTaskpublic boolean isParent()
PTask
isParent in interface PTaskpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||