public class HelloWorld
extends java.lang.Object
implements org.soafaces.bundle.workflow.Tasklet
Hello world (part 1) example Tasklet. This is the simplest possible implementation of a Tasklet. It does not use any of the more advanced features like Customizers, input JavaBeans, output JavaBeans, etc.
When the Job is run, this Tasklet logs the message "Hello out there" using Java Logging API.
Constructor and Description |
---|
HelloWorld() |
Modifier and Type | Method and Description |
---|---|
void |
onExecute(org.soafaces.bundle.workflow.TaskletInputContext inputContext,
org.soafaces.bundle.workflow.TaskletOutputContext outputContext)
Both the inBean and outBean are null in this example because there is no
input JavaBean or output JavaBean defined.
|
public void onExecute(org.soafaces.bundle.workflow.TaskletInputContext inputContext, org.soafaces.bundle.workflow.TaskletOutputContext outputContext)
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.