Class RunATCompletionJob

  • 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 RunATCompletionJob
    extends de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
    Recursively applies AT completions until no AT completion is left anymore. Therefore, AT completions have to remove stereotype applications that reference these. Results are directly stored within the blackboard.
    • 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 Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> Predicate<T> distinctByKey​(Function<? super T,​?> keyExtractor)  
      void execute​(IProgressMonitor monitor)  
      • 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
      • 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, getName, 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, getName
    • Method Detail

      • distinctByKey

        public static <T> Predicate<T> distinctByKey​(Function<? super T,​?> keyExtractor)
      • 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