Package de.uka.ipd.sdq.workflow.mdsd
Class AbstractWorkflowBasedMDSDLaunchConfigurationDelegate<WorkflowConfigurationType extends AbstractWorkflowBasedRunConfiguration>
java.lang.Object
de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate<WorkflowConfigurationType,BlackboardBasedWorkflow<MDSDBlackboard>>
de.uka.ipd.sdq.workflow.mdsd.AbstractWorkflowBasedMDSDLaunchConfigurationDelegate<WorkflowConfigurationType>
- Type Parameters:
WorkflowConfigurationType
- The type of the workflow configuration which should be used to configure this workflow
- All Implemented Interfaces:
ILaunchConfigurationDelegate
public abstract class AbstractWorkflowBasedMDSDLaunchConfigurationDelegate<WorkflowConfigurationType extends AbstractWorkflowBasedRunConfiguration>
extends AbstractWorkflowBasedLaunchConfigurationDelegate<WorkflowConfigurationType,BlackboardBasedWorkflow<MDSDBlackboard>>
Base class of workflows running as Eclipse run or debug launches which need a blackboard to load,
manipulate, and transform EMF models along their job processing. The blackboard configured here
is a
MDSDBlackboard
containing partitions where each partition is a
ResourceSetPartition
.-
Field Summary
Fields inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate
DETAILED_LOG_PATTERN, SHORT_LOG_PATTERN, VERBOSE_LOGGING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MDSDBlackboard
Factory method for the blackboard used in the workflow of this launch.protected UIBasedWorkflow<MDSDBlackboard>
createWorkflow
(WorkflowConfigurationType workflowConfiguration, IProgressMonitor monitor, ILaunch launch) Instantiate the workflow engine.protected ArrayList<LoggerAppenderStruct>
setupLogging
(org.apache.log4j.Level logLevel) Setup LOGGER for the workflow run.Methods inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate
configureLogging, createExceptionHandler, createWorkflowJob, deriveConfiguration, getLogLevel, getProcess, launch, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate
showCommandLine
-
Constructor Details
-
AbstractWorkflowBasedMDSDLaunchConfigurationDelegate
public AbstractWorkflowBasedMDSDLaunchConfigurationDelegate()
-
-
Method Details
-
createBlackboard
Factory method for the blackboard used in the workflow of this launch.- Returns:
- The blackboard to be used in the workflow
-
createWorkflow
protected UIBasedWorkflow<MDSDBlackboard> createWorkflow(WorkflowConfigurationType workflowConfiguration, IProgressMonitor monitor, ILaunch launch) throws CoreException Description copied from class:AbstractWorkflowBasedLaunchConfigurationDelegate
Instantiate the workflow engine. By default a standard workflow engine is created.- Overrides:
createWorkflow
in classAbstractWorkflowBasedLaunchConfigurationDelegate<WorkflowConfigurationType extends AbstractWorkflowBasedRunConfiguration,
BlackboardBasedWorkflow<MDSDBlackboard>> - Parameters:
workflowConfiguration
- Configuration of the workflow jobmonitor
- A progress monitorlaunch
- The associated Eclipse launch- Returns:
- The workflow engine to use for this launch
- Throws:
CoreException
- the core exception
-
setupLogging
protected ArrayList<LoggerAppenderStruct> setupLogging(org.apache.log4j.Level logLevel) throws CoreException Description copied from class:AbstractWorkflowBasedLaunchConfigurationDelegate
Setup LOGGER for the workflow run. May be overridden by clients to configure further LOGGER for other namespaces than de.uka.ipd.sdq.workflow. Use protected method setupLogger to configure additional loggers- Overrides:
setupLogging
in classAbstractWorkflowBasedLaunchConfigurationDelegate<WorkflowConfigurationType extends AbstractWorkflowBasedRunConfiguration,
BlackboardBasedWorkflow<MDSDBlackboard>> - Parameters:
logLevel
- The apache log4j log level requested by the user as log level- Returns:
- the array list
- Throws:
CoreException
- the core exception
-