ItEr19S15ProbasModuloRecursosItEr14S12: Added new predefined criterion types TRAINING, JOB and CATEGORY.

This commit is contained in:
Manuel Rego Casasnovas 2009-07-30 11:05:59 +02:00 committed by Javier Moran Rua
parent 15421e0e9e
commit ffc5272414

View file

@ -27,6 +27,24 @@ public enum PredefinedCriterionTypes implements ICriterionType<Criterion> {
public List<String> getPredefined() {
return LeaveCriterions.getCriterionNames();
}
},
TRAINING(true, true, true, true, ResourceEnum.WORKER) {
@Override
public List<String> getPredefined() {
return Arrays.asList();
}
},
JOB(true, true, true, true, ResourceEnum.WORKER) {
@Override
public List<String> getPredefined() {
return Arrays.asList();
}
},
CATEGORY(true, true, true, true, ResourceEnum.WORKER) {
@Override
public List<String> getPredefined() {
return Arrays.asList();
}
};
private final boolean allowHierarchy;