Package org.eclipse.emf.mwe.core.ao
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
void
checkConfiguration
(Issues issues) Called by the container after configuration so the component can validate the configuration before invocation.Returns the advice target.final void
invokeInternal
(WorkflowContext ctx, ProgressMonitor monitor, Issues issues) Internal method for component execution.void
setAdviceTarget
(String adviceTarget) Sets the target of the advice.abstract void
weave
(WorkflowComponent component, Issues issues) Weaves the advices into the specifiedcomponent
.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
-
Constructor Details
-
AbstractWorkflowAdvice
public AbstractWorkflowAdvice()
-
-
Method Details
-
invokeInternal
Description copied from class:AbstractWorkflowComponent
Internal method for component execution.- Specified by:
invokeInternal
in classAbstractWorkflowComponent
- Parameters:
ctx
- the workflow contextmonitor
- the progress monitorissues
- container of execution issues
-
checkConfiguration
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
Sets the target of the advice.- Parameters:
adviceTarget
- the advice target
-
getAdviceTarget
Returns the advice target.- Returns:
- the advice target
-
weave
Weaves the advices into the specifiedcomponent
.- Parameters:
component
- the componentissues
- facility for reporting possible issues during weaving.
-
buildList
-