@Override public boolean canTake(Queue.BuildableItem item) { for (JobRestriction restriction : restrictions) { if (restriction.canTake(item)) { return true; } } return false; }
@Override public boolean canTake(Run run) { for (JobRestriction restriction : restrictions) { if (restriction.canTake(run)) { return true; } } return false; }