/** * Returns true iff all the specified job constraints are satisfied. Note: At the moment this * method only checks for network constraints and nothing more. * * @param job the job whose constraints are to be checked. */ public boolean areConstraintsSatisfied(JobInvocation job) { int jobConstraints = Constraint.compact(job.getConstraints()); return areNetworkConstraintsSatisfied(jobConstraints); }