Class 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
      • 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 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
    • 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 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
        See Also:
        de.uka.ipd.sdq.workflow.IJob#execute(org.eclipse.core.runtime.IProgressMonitor)
      • 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
        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 interface de.uka.ipd.sdq.workflow.jobs.IJob
        Overrides:
        cleanup in class de.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 interface de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
        Overrides:
        setBlackboard in class de.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)