Class SimpleModelAnalyzerConfigurationDelegate
java.lang.Object
de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate<SoMoXModelAnalyzerConfiguration,de.uka.ipd.sdq.workflow.Workflow>
org.somox.analyzer.simplemodelanalyzer.ui.SimpleModelAnalyzerConfigurationDelegate
- All Implemented Interfaces:
ILaunchConfigurationDelegate
public class SimpleModelAnalyzerConfigurationDelegate
extends de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate<SoMoXModelAnalyzerConfiguration,de.uka.ipd.sdq.workflow.Workflow>
The class is defined by the delegate attribute of a launchConfigurationType extension and
performs launching for a Model Analyzer launch configuration.
It offers extension points through the Palladio Workflow Engine. Plugins whishing to extend the launch may register their jobs at the extension point
It offers extension points through the Palladio Workflow Engine. Plugins whishing to extend the launch may register their jobs at the extension point
de.uka.ipd.sdq.workflow.job
offered
by de.uka.ipd.sdq.workflow
. SoMoX offers three points to extend the workflow (defined by
the extension point’s workflowId
attribute:
org.somox.launch.start
: Jobs registering at this workflow id will be executed before any job is run by SoMoXorg.somox.launch.modelavailable
: Jobs registering at this workflow id will be executed when all of SoMoX’ internal analysis jobs have run, but before the result is saved.org.somox.launch.end
: Jobs registering at this workflow id will be executed after all jobs have finished. The model will have been saved at this point.
-
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 de.uka.ipd.sdq.workflow.jobs.IJob
createWorkflowJob
(SoMoXModelAnalyzerConfiguration config, ILaunch launch) protected SoMoXModelAnalyzerConfiguration
deriveConfiguration
(ILaunchConfiguration launchconfiguration, String mode) protected ArrayList<de.uka.ipd.sdq.workflow.logging.console.LoggerAppenderStruct>
setupLogging
(org.apache.log4j.Level logLevel) Methods inherited from class de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate
createExceptionHandler, createWorkflow, 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
-
SimpleModelAnalyzerConfigurationDelegate
public SimpleModelAnalyzerConfigurationDelegate()
-
-
Method Details
-
createWorkflowJob
protected de.uka.ipd.sdq.workflow.jobs.IJob createWorkflowJob(SoMoXModelAnalyzerConfiguration config, ILaunch launch) throws CoreException - Specified by:
createWorkflowJob
in classde.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate<SoMoXModelAnalyzerConfiguration,
de.uka.ipd.sdq.workflow.Workflow> - Throws:
CoreException
-
deriveConfiguration
protected SoMoXModelAnalyzerConfiguration deriveConfiguration(ILaunchConfiguration launchconfiguration, String mode) throws CoreException - Specified by:
deriveConfiguration
in classde.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate<SoMoXModelAnalyzerConfiguration,
de.uka.ipd.sdq.workflow.Workflow> - Throws:
CoreException
-
setupLogging
protected ArrayList<de.uka.ipd.sdq.workflow.logging.console.LoggerAppenderStruct> setupLogging(org.apache.log4j.Level logLevel) throws CoreException - Overrides:
setupLogging
in classde.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate<SoMoXModelAnalyzerConfiguration,
de.uka.ipd.sdq.workflow.Workflow> - Throws:
CoreException
-