|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.peer.workflow.TaskDescriptor
public class TaskDescriptor
Contains information relative to the creation of the Task : names of the classes, name of the class containing the running routines, input parameters and input data or ways to access it.
JobDescriptor
,
Serialized FormConstructor Summary | |
---|---|
TaskDescriptor(java.lang.String[] related_classes,
java.lang.String main_class,
java.lang.Object[] params,
java.lang.String[] related_datas)
Create a task description |
Method Summary | |
---|---|
java.lang.String[] |
getClassNames()
Get all classes needed by the wannabe Task |
java.lang.String[] |
getDataIDs()
Return all data options for all data's this TaskDescriptor depends on. |
java.lang.String |
getMainClass()
|
java.lang.Object[] |
getParams()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskDescriptor(java.lang.String[] related_classes, java.lang.String main_class, java.lang.Object[] params, java.lang.String[] related_datas) throws GridException
Warning: for efficiency reasons, we cannot afford to make copies of the possibly enormous parameter arrays. Make sure you don't modify it later.
related_classes
- Names of all classes required for this task
and whose bytecodes are kept in the parent JobDescriptormain_class
- The name of the class implementing GridApplicationparams
- Parameters for the task. Should at least be an empty arrayrelated_datas
- IDs of the input data's passed to the task
GridException
Method Detail |
---|
public java.lang.String[] getClassNames()
public java.lang.String getMainClass()
public java.lang.Object[] getParams()
public java.lang.String[] getDataIDs()
public java.lang.String toString()
toString
in class java.lang.Object
|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.