Class StoreAllPCMModelsJob

java.lang.Object
org.palladiosimulator.analyzer.workflow.jobs.StoreAllPCMModelsJob
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 StoreAllPCMModelsJob extends Object implements de.uka.ipd.sdq.workflow.jobs.IJob, de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
Job to store the loaded PCM models. Prerequisite of this job: The working copy must have been created. E.g. by CreateWorkingCopyOfModelsJob.
  • Constructor Details

    • StoreAllPCMModelsJob

      public StoreAllPCMModelsJob(AbstractPCMWorkflowRunConfiguration configuration)
      Constructor requiring the necessary configuration object.
      Parameters:
      configuration - The configuration for this job.
  • Method Details

    • execute

      public void execute(IProgressMonitor monitor) throws de.uka.ipd.sdq.workflow.jobs.JobFailedException, de.uka.ipd.sdq.workflow.jobs.UserCanceledException
      Execute this job and create the model copy.
      Specified by:
      execute in interface de.uka.ipd.sdq.workflow.jobs.IJob
      Throws:
      de.uka.ipd.sdq.workflow.jobs.JobFailedException
      de.uka.ipd.sdq.workflow.jobs.UserCanceledException
    • 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
    • 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>