public class LoadAdaptationBehaviorRepositoryIntoBlackBoardJob
extends de.uka.ipd.sdq.workflow.extension.AbstractWorkflowExtensionJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
AbstractWorkflowExtensionJob implementation to load a
AdaptationBehaviorRepository model (which is specified by an URI) into an
MDSDBlackboard instance.LoadAdaptationBehaviorRepositoryIntoBlackboardJobConfig,
LoadAdaptationBehaviorRepositoryIntoBlackboardJobConfigBuilder| Constructor and Description |
|---|
LoadAdaptationBehaviorRepositoryIntoBlackBoardJob()
Initializes a new instance of the
LoadAdaptationBehaviorRepositoryIntoBlackBoardJob
class. |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(org.eclipse.core.runtime.IProgressMonitor arg0) |
void |
execute(org.eclipse.core.runtime.IProgressMonitor arg0)
In this implementation, the action repository model is loaded into the blackboard. |
de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard |
getBlackboard() |
String |
getName() |
void |
setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard) |
void |
setJobConfiguration(de.uka.ipd.sdq.workflow.extension.AbstractExtensionJobConfiguration configuration)
In this case, the passed configuration must be an LoadAdaptationBehaviorRepositoryIntoBlackboardJobConfig which contains the path of
the AdaptationBehaviorRepository that will be loaded by this job. |
getJobConfigurationadd, 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, toStringreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic LoadAdaptationBehaviorRepositoryIntoBlackBoardJob()
LoadAdaptationBehaviorRepositoryIntoBlackBoardJob
class.public void setJobConfiguration(de.uka.ipd.sdq.workflow.extension.AbstractExtensionJobConfiguration configuration)
throws IllegalArgumentException
LoadAdaptationBehaviorRepositoryIntoBlackboardJobConfig which contains the path of
the AdaptationBehaviorRepository that will be loaded by this job.setJobConfiguration in class de.uka.ipd.sdq.workflow.extension.AbstractWorkflowExtensionJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>IllegalArgumentException - In case the given configuration is not a
LoadActionRepositoryIntoBlackboardJobConfig.public void setBlackboard(de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard blackboard)
throws IllegalArgumentException
setBlackboard in interface de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>setBlackboard in class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>IllegalArgumentException - In case the given blackboard is null.public de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard getBlackboard()
getBlackboard in class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>public void cleanup(org.eclipse.core.runtime.IProgressMonitor arg0)
throws de.uka.ipd.sdq.workflow.jobs.CleanupFailedException
cleanup in interface de.uka.ipd.sdq.workflow.jobs.IJobcleanup in class de.uka.ipd.sdq.workflow.jobs.SequentialJobde.uka.ipd.sdq.workflow.jobs.CleanupFailedExceptionpublic void execute(org.eclipse.core.runtime.IProgressMonitor arg0)
throws de.uka.ipd.sdq.workflow.jobs.JobFailedException,
de.uka.ipd.sdq.workflow.jobs.UserCanceledException
AdaptationBehaviorRepositoryResourceSetPartition is created and added to the
blackboard.execute in interface de.uka.ipd.sdq.workflow.jobs.IJobexecute in class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>de.uka.ipd.sdq.workflow.jobs.JobFailedExceptionde.uka.ipd.sdq.workflow.jobs.UserCanceledExceptionADAPTATION_BEHAVIOR__REPOSITORY_MODEL_PARTITION_IDpublic String getName()
getName in interface de.uka.ipd.sdq.workflow.jobs.IJobgetName in class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob