Class JobLocatorService

  • All Implemented Interfaces:
    JobLocator

    @Service(name="job-locator")
    public class JobLocatorService
    extends Object
    implements JobLocator
    This service will look for completed jobs from the jobs.xml files and load the information
    Author:
    Bhakti Mehta
    • Field Detail

      • jobFiles

        protected Set<File> jobFiles
    • Constructor Detail

      • JobLocatorService

        public JobLocatorService()
    • Method Detail

      • locateJobXmlFiles

        public Set<File> locateJobXmlFiles()
        Description copied from interface: JobLocator
        This method checks if there any any persisted and completed jobs
        Specified by:
        locateJobXmlFiles in interface JobLocator
        Returns:
        A list of the job files located in the system
      • addFile

        public void addFile​(File file)