Class JobMap


  • public class JobMap
    extends Object
    This is a map between the job name and the (running/waiting/finished) job.
    Since:
    26-SEP-2007, 3.0.0
    Author:
    Matt
    • Constructor Detail

      • JobMap

        public JobMap()
    • Method Detail

      • getJob

        public Job getJob​(String jobName)
        Find the first job in the list that comes to mind!
        Parameters:
        jobName -
        Returns:
        the first transformation with the specified name
      • getJob

        public Job getJob​(CarteObjectEntry entry)
        Parameters:
        entry - The Carte job object
        Returns:
        the job with the specified entry
      • getConfiguration

        public JobConfiguration getConfiguration​(CarteObjectEntry entry)
        Parameters:
        entry - The Carte job object
        Returns:
        the job configuration with the specified entry
      • getSlaveServerConfig

        public SlaveServerConfig getSlaveServerConfig()
        Returns:
        the slaveServerConfig
      • setSlaveServerConfig

        public void setSlaveServerConfig​(SlaveServerConfig slaveServerConfig)
        Parameters:
        slaveServerConfig - the slaveServerConfig to set
      • findJob

        public Job findJob​(String id)
        Find a job using the container/carte object ID.
        Parameters:
        id - the container/carte object ID
        Returns:
        The job if it's found, null if the ID couldn't be found in the job map.