Enum TockUserRole
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum TockUserRole extends Enum<TockUserRole>
The user roles for TockUser.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTockUserRole.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description nlpUserA nlp user is allowed to qualify and search sentences, but not to update applications or builds.
faqNlpUserA faq nlp user is allowed to qualify and search sentences, and train the FAQ, but not to update applications or builds.
faqBotUserA faq bot user is allowed to qualify and search sentences, and train the FAQ, but not to update applications or builds.
botUserA bot user is allowed to modify answer & i18n, and to consult dialogs and conversations.
adminAn admin is allowed to update applications and builds, and to export/intent sentences dump.
technicalAdminA technical admin has access to all encrypted sentence, and to export/intent application dumps.
-
Method Summary
Modifier and Type Method Description final TockUserRolevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<TockUserRole>values()Returns an array containing the constants of this enum type, in the order they're declared. -
-
Method Detail
-
valueOf
final TockUserRole valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<TockUserRole> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-