Package org.jppf.job

Class AllJobsSelector

java.lang.Object
org.jppf.job.AllJobsSelector
All Implemented Interfaces:
Serializable, JobSelector

public class AllJobsSelector extends Object implements JobSelector
A job selector which accepts all jobs.
Since:
5.1
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • AllJobsSelector

      public AllJobsSelector()
  • Method Details

    • accepts

      public boolean accepts(JPPFDistributedJob job)
      Description copied from interface: JobSelector
      Determine whether the specified job is accepted by this selector.
      Specified by:
      accepts in interface JobSelector
      Parameters:
      job - the job to check.
      Returns:
      true if the job is acepted, false otherwise.