Documentation of 'jas2.jds.module.LocalJobBuilder' Java class
LocalJobBuilder
jas2.jds.module

Interface LocalJobBuilder



  • public interface LocalJobBuilder
    The application will provide a LocalJobBuilder to all LocalDIMs. Those DIMs must use the LocalJobBuilder to create a new local job.
    See Also:
    LocalDIM
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void clearProgressModel() 
      void createJob(java.lang.String dataSourceName)
      Tells the Job Builder to create a job, which it does by calling the DIM's openDataSet method with the specified dataSourceName.
      void setEventSource(hepjas.analysis.EventSource source)
      Allows a LocalDIM to delay setting the EventSource in the case that opening the EventSouce may take a long time.
      void setMessage(java.lang.String message)
      Puts a message in the message window (e.g.
      void setProgressModel(javax.swing.BoundedRangeModel model)
      Enables the event source to take control of the progress meter, so the user can be given feedback on what is going on.
    • Method Detail

      • createJob

        void createJob(java.lang.String dataSourceName)
        Tells the Job Builder to create a job, which it does by calling the DIM's openDataSet method with the specified dataSourceName.
        See Also:
        AbstractDIM.openDataSet(String)
      • setMessage

        void setMessage(java.lang.String message)
        Puts a message in the message window (e.g. "loading data...")
      • setProgressModel

        void setProgressModel(javax.swing.BoundedRangeModel model)
        Enables the event source to take control of the progress meter, so the user can be given feedback on what is going on.
      • clearProgressModel

        void clearProgressModel()
      • setEventSource

        void setEventSource(hepjas.analysis.EventSource source)
        Allows a LocalDIM to delay setting the EventSource in the case that opening the EventSouce may take a long time. In this case the LocalDIM may return null from its openDataSet method, and instead call this method later when the EventSource is ready.
        Parameters:
        source - The newly opened EventSource to be added to the job.
        See Also:
        AbstractDIM.openDataSet(String)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.