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 Details

    • RunPCMAnalysisJob

      public RunPCMAnalysisJob(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 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 interface de.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 completed
      de.uka.ipd.sdq.workflow.jobs.UserCanceledException - indicates that the user has canceled the workflow before completion
    • getStrategy

      public SolverStrategy getStrategy()
    • setBlackboard

      public void setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
      Specified by:
      setBlackboard in interface de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
    • getName

      public String getName()
      Specified by:
      getName in interface de.uka.ipd.sdq.workflow.jobs.IJob
    • cleanup

      public void cleanup(IProgressMonitor monitor) throws de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
      Specified by:
      cleanup in interface de.uka.ipd.sdq.workflow.jobs.IJob
      Throws:
      de.uka.ipd.sdq.workflow.jobs.CleanupFailedException