[New] Added ConfigureMethod.isProgrammatic() and isModel()

This commit is contained in:
Robert von Burg 2020-10-05 10:58:00 +02:00
parent 76011f6940
commit b14b625626
1 changed files with 9 additions and 1 deletions

View File

@ -2,5 +2,13 @@ package li.strolch.job;
public enum ConfigureMethod {
Programmatic,
Model
Model;
public boolean isProgrammatic() {
return this == Programmatic;
}
public boolean isModel() {
return this == Model;
}
}