Class AbstractWorkflowAdvice

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

public abstract class AbstractWorkflowAdvice extends AbstractWorkflowComponent
  • Constructor Details

    • AbstractWorkflowAdvice

      public AbstractWorkflowAdvice()
  • Method Details

    • 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:
    • setAdviceTarget

      public void setAdviceTarget(String adviceTarget)
      Sets the target of the advice.
      Parameters:
      adviceTarget - the advice target
    • getAdviceTarget

      public String getAdviceTarget()
      Returns the advice target.
      Returns:
      the advice target
    • weave

      public abstract void weave(WorkflowComponent component, Issues issues)
      Weaves the advices into the specified component.
      Parameters:
      component - the component
      issues - facility for reporting possible issues during weaving.
    • buildList

      protected String buildList(List<String> list)