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 Summary
ConstructorDescriptionStoreAllPCMModelsJob
(AbstractPCMWorkflowRunConfiguration configuration) Constructor requiring the necessary configuration object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup
(IProgressMonitor monitor) void
execute
(IProgressMonitor monitor) Execute this job and create the model copy.getName()
void
setBlackboard
(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
Constructor Details
-
StoreAllPCMModelsJob
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 interfacede.uka.ipd.sdq.workflow.jobs.IJob
- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedException
de.uka.ipd.sdq.workflow.jobs.UserCanceledException
-
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
-
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>
-