org.eclipse.emf.mwe.core.ao
Class AbstractWorkflowAdvice

java.lang.Object
  extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
      extended by org.eclipse.emf.mwe.core.ao.AbstractWorkflowAdvice
All Implemented Interfaces:
WorkflowComponent, WorkflowComponentWithID, IWorkflowComponent

public abstract class AbstractWorkflowAdvice
extends AbstractWorkflowComponent


Constructor Summary
AbstractWorkflowAdvice()
           
 
Method Summary
protected  java.lang.String buildList(java.util.List<java.lang.String> list)
           
 void checkConfiguration(Issues issues)
          Called by the container after configuration so the component can validate the configuration before invocation.
 java.lang.String getAdviceTarget()
          Returns the advice target.
 void invokeInternal(WorkflowContext ctx, ProgressMonitor monitor, Issues issues)
          Internal method for component execution.
 void setAdviceTarget(java.lang.String adviceTarget)
          Sets the target of the advice.
abstract  void weave(WorkflowComponent c, Issues issues)
          Weaves the advices into the specified component.
 
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getComponentName, getContainer, getId, getLocation, getLogMessage, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWorkflowAdvice

public AbstractWorkflowAdvice()
Method Detail

invokeInternal

public final void invokeInternal(WorkflowContext ctx,
                                 ProgressMonitor monitor,
                                 Issues issues)
Description copied from class: AbstractWorkflowComponent
Internal method for component execution.

Specified by:
invokeInternal in class AbstractWorkflowComponent
Parameters:
ctx - the workflow context
monitor - the progress monitor
issues - container of execution issues

checkConfiguration

public void checkConfiguration(Issues issues)
Description copied from interface: WorkflowComponent
Called by the container after configuration so the component can validate the configuration before invocation.

Parameters:
issues - implementors should report configuration issues to this.
See Also:
WorkflowComponent.checkConfiguration(org.eclipse.emf.mwe.core.issues.Issues)

setAdviceTarget

public void setAdviceTarget(java.lang.String adviceTarget)
Sets the target of the advice.

Parameters:
adviceTarget - the advice target

getAdviceTarget

public java.lang.String getAdviceTarget()
Returns the advice target.

Returns:
the advice target

weave

public abstract void weave(WorkflowComponent c,
                           Issues issues)
Weaves the advices into the specified component.

Parameters:
component - the component
issues - facility for reporting possible issues during weaving.

buildList

protected java.lang.String buildList(java.util.List<java.lang.String> list)