public abstract class SimplePOJORuntimeViewer extends RuntimeViewer
A convenient subclass for viewing the Tasklet's runtime input
and output JavaBeans. This class serializes the input and output
JavaBeans associated with a Tasklet using standard GWT serialization
and presents them to the BaseIOViewer GWT client
as IsSerializable
objects.
Use this class if your Tasklet has both an input and output JavaBean and if you intend to have the UI view both the input and output JavaBeans.
RuntimeViewer.Mode
Constructor and Description |
---|
SimplePOJORuntimeViewer() |
Modifier and Type | Method and Description |
---|---|
void |
buildUI()
Convenient implementation that pulls both the input and output JavaBean from the server
and serializes them to IsSerializable.
|
protected abstract void |
buildUI(com.google.gwt.user.client.rpc.IsSerializable inputBean,
com.google.gwt.user.client.rpc.IsSerializable outputBean,
TaskletStatus taskletStatus)
Method to implement in subclass.
|
com.google.gwt.user.client.ui.Panel |
getMainPanel()
Convenient implementation to return the top level UI container.
|
getContext, getMode, initUI, onModuleLoad
public com.google.gwt.user.client.ui.Panel getMainPanel()
getMainPanel
in class RuntimeViewer
public final void buildUI()
buildUI
in class RuntimeViewer
protected abstract void buildUI(com.google.gwt.user.client.rpc.IsSerializable inputBean, com.google.gwt.user.client.rpc.IsSerializable outputBean, TaskletStatus taskletStatus)
inputBean
- Input JavaBeanoutputBean
- Output JavaBeantaskletStatus
- Contains current status information of currently running or completed TaskletCopyright © Grand Logic, Inc. All Rights Reserved.