public class HReport
extends java.lang.Object
implements org.soafaces.bundle.workflow.Tasklet
The HReport Tasklet communicates with Hadoop JobTracker using JobClient API.
JobClient is used to query for status of all jobs running in Hadoop and display status.
Constructor and Description |
---|
HReport() |
Modifier and Type | Method and Description |
---|---|
void |
onExecute(org.soafaces.bundle.workflow.TaskletInputContext inputContext,
org.soafaces.bundle.workflow.TaskletOutputContext outputContext)
Implement this method with virually any server-side code you want to execute.
|
public void onExecute(org.soafaces.bundle.workflow.TaskletInputContext inputContext, org.soafaces.bundle.workflow.TaskletOutputContext outputContext)
org.soafaces.bundle.workflow.Tasklet
Implement this method with virually any server-side code you want to execute. The container executing the Tasklet will invoke this method once the Tasklet is ready for execution.
A Tasklet can optionally use an input JavaBean as input to use during the execution of this method. The Tasklet can also store any relavent output that it wishes to expose or feed to other Tasklet, in the form of an output JavaBean, that execute later on in the workflow/job chain.
onExecute
in interface org.soafaces.bundle.workflow.Tasklet
inputContext
- This context contains information related to the input state the
Tasklet is running in.outputContext
- This context contains information related to the output state the
Tasklet is running in.Copyright © Grand Logic, Inc. All Rights Reserved.