Package org.palladiosimulator.solver
Class RunPCMAnalysisJob
java.lang.Object
org.palladiosimulator.solver.RunPCMAnalysisJob
- 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 RunPCMAnalysisJob
extends Object
implements de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
The central class that controls the PCM Solver process when launched from the
eclipse UI.
-
Constructor Summary
ConstructorDescriptionRunPCMAnalysisJob
(PCMSolverWorkflowRunConfiguration configuration) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(IProgressMonitor monitor) void
execute
(IProgressMonitor monitor) Executes the Solver workflow.getName()
void
setBlackboard
(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
Constructor Details
-
RunPCMAnalysisJob
The constructor. Configures the PCM Solver process according to the launch configuration defined by the user.- Parameters:
configuration
- the solver configuration object
-
-
Method Details
-
execute
public void execute(IProgressMonitor monitor) throws de.uka.ipd.sdq.workflow.jobs.JobFailedException, de.uka.ipd.sdq.workflow.jobs.UserCanceledException Executes the Solver workflow.- Specified by:
execute
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
- Parameters:
monitor
- the progress monitor- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedException
- indicates that one of the jobs in the workflow was not successfully completedde.uka.ipd.sdq.workflow.jobs.UserCanceledException
- indicates that the user has canceled the workflow before completion
-
getStrategy
-
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>
-
getName
- Specified by:
getName
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
-
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
-