[New] Added ConfigureMethod.isProgrammatic() and isModel()
This commit is contained in:
parent
76011f6940
commit
b14b625626
|
@ -2,5 +2,13 @@ package li.strolch.job;
|
||||||
|
|
||||||
public enum ConfigureMethod {
|
public enum ConfigureMethod {
|
||||||
Programmatic,
|
Programmatic,
|
||||||
Model
|
Model;
|
||||||
|
|
||||||
|
public boolean isProgrammatic() {
|
||||||
|
return this == Programmatic;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isModel() {
|
||||||
|
return this == Model;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue