org.openarchitectureware.workflow.lib
Class SimpleJavaTransformationComponent
java.lang.Object
org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
org.openarchitectureware.workflow.lib.SimpleJavaTransformationComponent
- All Implemented Interfaces:
- WorkflowComponent, WorkflowComponentWithID
public abstract class SimpleJavaTransformationComponent
- extends AbstractWorkflowComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleJavaTransformationComponent
public SimpleJavaTransformationComponent()
setInputSlot
public void setInputSlot(java.lang.String slotName)
- Sets the name of the input slot.
- Parameters:
slotName
- name of slot
setOutputSlot
public void setOutputSlot(java.lang.String slotName)
- Sets the name of the output slot.
- Parameters:
slotName
- name of slot
checkConfiguration
public void checkConfiguration(Issues issues)
- Description copied from interface:
WorkflowComponent
- Validates the configuration before invocation.
- Parameters:
issues
- facility for reporting configuration issues.- See Also:
WorkflowComponent.checkConfiguration(org.openarchitectureware.workflow.issues.Issues)
invoke
public void invoke(WorkflowContext ctx,
ProgressMonitor monitor,
Issues issues)
- Description copied from interface:
WorkflowComponent
- Invokes the workflow component.
- Parameters:
ctx
- the current workflow contextmonitor
- implementors should provide some feedback about the progress
using this monitorissues
- facility for reporting possible issues that occur during
invocation- See Also:
WorkflowComponent.invoke(org.openarchitectureware.workflow.WorkflowContext,
org.openarchitectureware.workflow.monitor.ProgressMonitor,
org.openarchitectureware.workflow.issues.Issues)
doTransformation
protected abstract java.lang.Object doTransformation(java.lang.Object inputModel,
WorkflowContext ctx,
ProgressMonitor monitor,
Issues issues)