Class PCMStartInterpretationJob
- java.lang.Object
-
- org.palladiosimulator.simulizar.launcher.jobs.PCMStartInterpretationJob
-
- All Implemented Interfaces:
de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
,de.uka.ipd.sdq.workflow.jobs.IJob
public class PCMStartInterpretationJob extends Object implements de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
Job starting the pcm interpretation.
-
-
Field Summary
Fields Modifier and Type Field Description protected de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard
blackboard
protected SimuLizarWorkflowConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description PCMStartInterpretationJob(SimuLizarWorkflowConfiguration configuration)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SimuLizarCoreComponent
buildSimuLizarComponent(IProgressMonitor monitor)
This method is supposed to be overridden by tests, to supply aSimuLizarCoreComponent.Builder
which provides the required refinements.protected SimuLizarCoreComponent
buildSimuLizarComponent(SimuLizarCoreComponent.Builder runtimeStateBuilder, IProgressMonitor monitor)
protected SimuLizarExtensionsComponent
buildSimuLizarExtensionComponent(SimuLizarCoreComponent coreComponent)
void
cleanup(IProgressMonitor monitor)
protected void
enhanceConfiguration()
void
execute(IProgressMonitor monitor)
String
getName()
void
setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
-
-
Field Detail
-
blackboard
protected de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard
-
configuration
protected final SimuLizarWorkflowConfiguration configuration
-
-
Constructor Detail
-
PCMStartInterpretationJob
public PCMStartInterpretationJob(SimuLizarWorkflowConfiguration configuration)
Constructor- Parameters:
configuration
- the SimuCom workflow configuration.
-
-
Method Detail
-
execute
public void execute(IProgressMonitor monitor) throws de.uka.ipd.sdq.workflow.jobs.JobFailedException, de.uka.ipd.sdq.workflow.jobs.UserCanceledException
- Specified by:
execute
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedException
de.uka.ipd.sdq.workflow.jobs.UserCanceledException
- See Also:
de.uka.ipd.sdq.workflow.IJob#execute(org.eclipse.core.runtime.IProgressMonitor)
-
buildSimuLizarComponent
protected SimuLizarCoreComponent buildSimuLizarComponent(SimuLizarCoreComponent.Builder runtimeStateBuilder, IProgressMonitor monitor)
-
buildSimuLizarComponent
protected SimuLizarCoreComponent buildSimuLizarComponent(IProgressMonitor monitor)
This method is supposed to be overridden by tests, to supply aSimuLizarCoreComponent.Builder
which provides the required refinements.- Parameters:
monitor
- the progress monitor supplied by the jobs execute method.- Returns:
- the constructed
SimuLizarRuntimeState
-
buildSimuLizarExtensionComponent
protected SimuLizarExtensionsComponent buildSimuLizarExtensionComponent(SimuLizarCoreComponent coreComponent)
-
enhanceConfiguration
protected void enhanceConfiguration()
-
getName
public String getName()
- Specified by:
getName
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
- See Also:
de.uka.ipd.sdq.workflow.IJob#getName()
-
cleanup
public void cleanup(IProgressMonitor monitor) throws de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
- Specified by:
cleanup
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
- Throws:
de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
- See Also:
de.uka.ipd.sdq.workflow.IJob#rollback(org.eclipse.core.runtime.IProgressMonitor)
-
setBlackboard
public void setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
- Specified by:
setBlackboard
in interfacede.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
- See Also:
de.uka.ipd.sdq.workflow.IBlackboardInteractingJob#setBlackboard(de.uka.ipd.sdq.workflow.Blackboard)
-
-