rapture.common.Scheme Maven / Gradle / Ivy
package rapture.common;
public enum Scheme {
BLOB(true), WORKORDER(false), LOCK(false), EVENT(false), TABLE(false), IDGEN(false), SNIPPET(false), ENTITLEMENT(true), SERVER(false), EXCHANGE_DOMAIN(false), DOCUMENT(true), INDEX(false), JOB(false), PLUGIN_MANIFEST(false), APPSTATUS(false), STRUCTURED(true), SERIES(true), DP_JAVA_INVOCABLE(false), SERVERSTATUS(false), LOG(false), SEARCH(true), FIELD(false), ENTITLEMENTGROUP(true), PLUGIN(false), USER(false), AUTHORITY(false), NOTIFICATION(false), SCRIPT(false), JAR(false), TAG(true), WORKFLOW(false);
private boolean isPrimitive;
Scheme() {
this.isPrimitive = false;
}
Scheme(boolean isPrimitive) {
this.isPrimitive = isPrimitive;
}
public boolean isPrimitive() {
return this.isPrimitive;
}
@Override
public String toString() {
return this.name().toLowerCase();
}
public static Scheme getScheme(String name) {
try {
return Scheme.valueOf(name.toUpperCase());
} catch (IllegalArgumentException e) {
return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy