Class CopyPartitionJob

  • 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 CopyPartitionJob
    extends de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
    Copies the contents of a given partition to another blackboard partition.
    • Field Summary

      • Fields inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob

        myBlackboard
      • Fields inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob

        myExecutedJobs, myJobs
      • Fields inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractJob

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(IProgressMonitor monitor)  
      String getName()
      • Methods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob

        getBlackboard, setBlackboard
      • Methods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialJob

        cleanup, executeWithDelayedCleanUp, executeWithImmediateCleanUp
      • 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 interface de.uka.ipd.sdq.workflow.jobs.IJob

        cleanup
    • Constructor Detail

      • CopyPartitionJob

        public CopyPartitionJob​(String sourcePartition,
                                String targetPartition)
    • 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 interface de.uka.ipd.sdq.workflow.jobs.IJob
        Overrides:
        execute in class de.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
      • getName

        public String getName()
        Specified by:
        getName in interface de.uka.ipd.sdq.workflow.jobs.IJob
        Overrides:
        getName in class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob