Class RunPCMReliabilityAnalysisJob
- java.lang.Object
-
- org.palladiosimulator.solver.reliability.runconfig.RunPCMReliabilityAnalysisJob
-
- 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 RunPCMReliabilityAnalysisJob extends Object implements de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
Controls the PCM Reliability Solver process when launched from the eclipse UI.
-
-
Constructor Summary
Constructors Constructor Description RunPCMReliabilityAnalysisJob(PCMSolverWorkflowRunConfiguration configuration)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(IProgressMonitor monitor)
void
execute(IProgressMonitor monitor)
Executes the Solver workflow.String
getName()
SolverStrategy
getStrategy()
void
setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
-
-
Constructor Detail
-
RunPCMReliabilityAnalysisJob
public RunPCMReliabilityAnalysisJob(PCMSolverWorkflowRunConfiguration configuration)
The constructor. Configures the PCM Solver process according to the launch configuration defined by the user.- Parameters:
configuration
- the solver configuration object
-
-
Method Detail
-
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
-
getName
public String getName()
- Specified by:
getName
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
-
getStrategy
public SolverStrategy getStrategy()
-
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
-
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>
-
-