Package org.jppf.job
Class AllJobsSelector
java.lang.Object
org.jppf.job.AllJobsSelector
- All Implemented Interfaces:
Serializable,JobSelector
A job selector which accepts all jobs.
- Since:
- 5.1
- Author:
- Laurent Cohen
- See Also:
-
Field Summary
Fields inherited from interface org.jppf.job.JobSelector
ALL_JOBS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine whether the specified job is accepted by this selector.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.job.JobSelector
and, negate, or, xor
-
Constructor Details
-
AllJobsSelector
public AllJobsSelector()
-
-
Method Details
-
accepts
Description copied from interface:JobSelectorDetermine whether the specified job is accepted by this selector.- Specified by:
acceptsin interfaceJobSelector- Parameters:
job- the job to check.- Returns:
trueif the job is acepted,falseotherwise.
-