Interface SiteSelector

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SITE_NOT_FOUND
      The value for the pool handle, when the pool is not found.
      static java.lang.String VERSION
      The version of the API of the Site Selector.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String description()
      This method returns a String describing the site selection technique that is being implemented by the implementing class.
      void initialize​(edu.isi.pegasus.planner.classes.PegasusBag bag)
      Initializes the site selector.
      void mapWorkflow​(edu.isi.pegasus.planner.classes.ADag workflow, java.util.List sites)
      Maps the jobs in the workflow to the various grid sites.
    • Field Detail

      • VERSION

        static final java.lang.String VERSION
        The version of the API of the Site Selector.
        See Also:
        Constant Field Values
      • SITE_NOT_FOUND

        static final java.lang.String SITE_NOT_FOUND
        The value for the pool handle, when the pool is not found.
        See Also:
        Constant Field Values
    • Method Detail

      • initialize

        void initialize​(edu.isi.pegasus.planner.classes.PegasusBag bag)
        Initializes the site selector.
        Parameters:
        bag - the bag of objects that is useful for initialization.
      • mapWorkflow

        void mapWorkflow​(edu.isi.pegasus.planner.classes.ADag workflow,
                         java.util.List sites)
        Maps the jobs in the workflow to the various grid sites. The jobs are mapped by setting the site handle for the jobs.
        Parameters:
        workflow - the workflow.
        sites - the list of String objects representing the execution sites that can be used.
      • description

        java.lang.String description()
        This method returns a String describing the site selection technique that is being implemented by the implementing class.
        Returns:
        a short description