|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.engine.Activity
|
+--uk.org.ogsadai.activity.examples.helloworld.HelloWorldActivity
A HelloWorldActivity for performing a String return.
| Field Summary |
| Fields inherited from class uk.org.ogsadai.engine.Activity |
mContext, mExternalInputs, mExternalOutputs, mInternalInputs, mInternalOutputs |
| Constructor Summary | |
HelloWorldActivity(org.w3c.dom.Element element)
Constructs an instance for the specified Element. |
|
| Method Summary | |
void |
initialise()
Retrieves the BlockWriter for the activity's output. |
void |
processBlock()
Performs an iteration of the processing of an activity. |
| Methods inherited from class uk.org.ogsadai.engine.Activity |
cleanUp, connectsTo, getActivityConfiguration, getName, getObservableStatus, getProperties, getStatus, hasActivityConfiguration, hasProperties, processFirst, setCompleted, setError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HelloWorldActivity(org.w3c.dom.Element element)
throws ActivitySystemException,
ActivityUserException
Element.
element - The activity Element, conforming to the
associated schema.
ActivityUserException - If there is a user problem constructing the
activity.
ActivitySystemException - If there is a system problem constructing the
activity.| Method Detail |
public void initialise()
throws ActivityUserException
BlockWriter for the activity's output.
initialise in class ActivityActivityUserException - If a user problem prevents the activity from
initialising.public void processBlock()
ActivitysetCompleted method to indicate that processing is complete,
or the setError method if an error occurs that will prevent
the processing from completing.
processBlock in class ActivityActivity.processBlock()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||