Class LoadSDMModelsIntoBlackboardJob
- java.lang.Object
-
- de.uka.ipd.sdq.workflow.jobs.AbstractJob
-
- de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob
-
- de.uka.ipd.sdq.workflow.jobs.SequentialJob
-
- de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
-
- org.palladiosimulator.simulizar.reconfiguration.storydiagram.jobs.LoadSDMModelsIntoBlackboardJob
-
- All Implemented Interfaces:
de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
,de.uka.ipd.sdq.workflow.jobs.ICompositeJob
,de.uka.ipd.sdq.workflow.jobs.IJob
,Iterable<de.uka.ipd.sdq.workflow.jobs.IJob>
,Collection<de.uka.ipd.sdq.workflow.jobs.IJob>
,List<de.uka.ipd.sdq.workflow.jobs.IJob>
public class LoadSDMModelsIntoBlackboardJob extends de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
Job for loading all sdm models in a specific folder into the blackboard.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SDM_MODEL_PARTITION_ID
static String
STORYDIAGRAMS_FILE_EXTENSION
-
Fields inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob
myBlackboard
-
-
Constructor Summary
Constructors Constructor Description LoadSDMModelsIntoBlackboardJob(SimuLizarWorkflowConfiguration configuration)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(IProgressMonitor monitor)
void
execute(IProgressMonitor monitor)
String
getName()
void
setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
-
Methods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob
getBlackboard
-
Methods inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob
add, add, addAll, addAll, addFirst, addJob, addLast, clear, clone, contains, containsAll, descendingIterator, element, equals, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeAll, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, retainAll, set, setName, size, subList, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Field Detail
-
STORYDIAGRAMS_FILE_EXTENSION
public static final String STORYDIAGRAMS_FILE_EXTENSION
- See Also:
- Constant Field Values
-
SDM_MODEL_PARTITION_ID
public static final String SDM_MODEL_PARTITION_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoadSDMModelsIntoBlackboardJob
public LoadSDMModelsIntoBlackboardJob(SimuLizarWorkflowConfiguration configuration)
Constructor- Parameters:
configuration
- the SimuCom workflow 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
- Overrides:
execute
in classde.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedException
de.uka.ipd.sdq.workflow.jobs.UserCanceledException
- See Also:
de.uka.ipd.sdq.workflow.IJob#execute(org.eclipse.core.runtime.IProgressMonitor)
-
getName
public String getName()
- Specified by:
getName
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
- Overrides:
getName
in classde.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob
- See Also:
de.uka.ipd.sdq.workflow.IJob#getName()
-
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
- Overrides:
cleanup
in classde.uka.ipd.sdq.workflow.jobs.SequentialJob
- Throws:
de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
- See Also:
de.uka.ipd.sdq.workflow.IJob#rollback(org.eclipse.core.runtime.IProgressMonitor)
-
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>
- Overrides:
setBlackboard
in classde.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
- See Also:
de.uka.ipd.sdq.workflow.IBlackboardInteractingJob#setBlackboard(de.uka.ipd.sdq.workflow.Blackboard)
-
-