org.openarchitectureware.workflow.lib
Class AbstractWorkflowComponent2
java.lang.Object
org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
org.openarchitectureware.workflow.lib.AbstractWorkflowComponent2
- All Implemented Interfaces:
- WorkflowComponent, WorkflowComponentWithID
- Direct Known Subclasses:
- AbstractExpressionsUsingWorkflowComponent, CompilationUnitInstantiator, DirectoryCleaner
public abstract class AbstractWorkflowComponent2
- extends AbstractWorkflowComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractWorkflowComponent2
public AbstractWorkflowComponent2()
setSkipOnErrors
public void setSkipOnErrors(boolean skip)
- Sets if the execution of this component should be skipped if previously
executed components contained some errors.
- Parameters:
skip
- if true
, the execution of this component is
skipped if previous errors occurred, otherwise, the component
is executed as usual.
checkConfiguration
public final 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 final 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)
invokeInternal
protected abstract void invokeInternal(WorkflowContext ctx,
ProgressMonitor monitor,
Issues issues)
checkConfigurationInternal
protected abstract void checkConfigurationInternal(Issues issues)