org.openarchitectureware.workflow.lib
Class PassiveWorkflowComponent

java.lang.Object
  extended by org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
      extended by org.openarchitectureware.workflow.lib.PassiveWorkflowComponent
All Implemented Interfaces:
WorkflowComponent, WorkflowComponentWithID

public class PassiveWorkflowComponent
extends AbstractWorkflowComponent


Constructor Summary
PassiveWorkflowComponent()
           
 
Method Summary
 void checkConfiguration(Issues issues)
          Validates the configuration before invocation.
 java.lang.String getComponentName()
          Override this method by custom components.
 void invoke(WorkflowContext ctx, ProgressMonitor monitor, Issues issues)
          Invokes the workflow component.
 
Methods inherited from class org.openarchitectureware.workflow.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getContainer, getId, getLocation, getLogMessage, setContainer, setId, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassiveWorkflowComponent

public PassiveWorkflowComponent()
Method Detail

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 context
monitor - implementors should provide some feedback about the progress using this monitor
issues - 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)

getComponentName

public java.lang.String getComponentName()
Description copied from class: AbstractWorkflowComponent
Override this method by custom components.

Specified by:
getComponentName in interface WorkflowComponent
Overrides:
getComponentName in class AbstractWorkflowComponent
Returns:
Simple class name as default.
See Also:
WorkflowComponent.getComponentName()