ItEr19S15ProbasModuloRecursosItEr14S12: Added new predefined criterion types TRAINING, JOB and CATEGORY.
This commit is contained in:
parent
15421e0e9e
commit
ffc5272414
1 changed files with 18 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue