Class ApplyConnectorCompletionsJob
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.transformations.ApplyConnectorCompletionsJob
-
- 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 ApplyConnectorCompletionsJob extends Object implements de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
-
-
Field Summary
Fields Modifier and Type Field Description protected de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard
blackboard
static String
COMPLETION_REPOSITORY_PARTITION
-
Constructor Summary
Constructors Constructor Description ApplyConnectorCompletionsJob(AbstractSimulationWorkflowConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(IProgressMonitor monitor)
protected org.palladiosimulator.pcm.repository.Repository
createCompletionRepository(de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition completionRepositoryPartition, org.palladiosimulator.pcm.repository.Repository middlewareRepository)
void
execute(IProgressMonitor monitor)
protected URI
getCompletionResourceURI(String resourceName)
protected org.palladiosimulator.pcm.repository.Repository
getMiddlewareRepository()
String
getName()
protected de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition
getPartitionForCompletedMiddleware()
protected void
postProcessCompletedMiddlewarePartition(de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition partition)
void
setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
-
-
Field Detail
-
COMPLETION_REPOSITORY_PARTITION
public static final String COMPLETION_REPOSITORY_PARTITION
- See Also:
- Constant Field Values
-
blackboard
protected de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard
-
-
Constructor Detail
-
ApplyConnectorCompletionsJob
public ApplyConnectorCompletionsJob(AbstractSimulationWorkflowConfiguration configuration)
-
-
Method Detail
-
execute
public void execute(IProgressMonitor monitor) throws de.uka.ipd.sdq.workflow.jobs.JobFailedException, de.uka.ipd.sdq.workflow.jobs.UserCanceledException
- 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
-
getMiddlewareRepository
protected org.palladiosimulator.pcm.repository.Repository getMiddlewareRepository()
-
createCompletionRepository
protected org.palladiosimulator.pcm.repository.Repository createCompletionRepository(de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition completionRepositoryPartition, org.palladiosimulator.pcm.repository.Repository middlewareRepository) throws de.uka.ipd.sdq.workflow.jobs.JobFailedException
- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedException
-
getPartitionForCompletedMiddleware
protected de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition getPartitionForCompletedMiddleware()
-
postProcessCompletedMiddlewarePartition
protected void postProcessCompletedMiddlewarePartition(de.uka.ipd.sdq.workflow.mdsd.blackboard.ResourceSetPartition partition)
-
getCompletionResourceURI
protected URI getCompletionResourceURI(String resourceName) throws de.uka.ipd.sdq.workflow.jobs.JobFailedException
- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedException
-
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
public String 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
-
-