com.netgrif.application.engine.petrinet.domain.roles.RolePermission Maven / Gradle / Ivy
package com.netgrif.application.engine.petrinet.domain.roles;
public enum RolePermission {
DELEGATE("delegate"),
CANCEL("cancel"),
ASSIGN("assign"),
FINISH("finish"),
SET("set"),
VIEW("view");
private String value;
RolePermission(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String toString() {
return getValue();
}
public boolean equal(String str) {
return str != null && this.value.equalsIgnoreCase(str);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy