
no.mnemonic.services.triggers.api.model.v1.AccessMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of triggers-api Show documentation
Show all versions of triggers-api Show documentation
Definition of the Service and REST APIs
package no.mnemonic.services.triggers.api.model.v1;
public enum AccessMode {
Public(0), RoleBased(1), Private(2);
private final int order;
AccessMode(int order) {
this.order = order;
}
public boolean isLessRestricted(String mode) {
return this.order < valueOf(mode).order;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy