public class RolesTest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RolesTest.Role |
Modifier and Type | Field and Description |
---|---|
static RolesTest.Role |
ADMIN_ROLE |
static RolesTest.Role |
CATALOGER_ROLE |
static RolesTest.Role |
GUEST_ROLE |
static RolesTest.Role |
MANAGER_ROLE |
static RolesTest.Role |
NO_ROLE |
Constructor and Description |
---|
RolesTest() |
Modifier and Type | Method and Description |
---|---|
static RolesTest.Role |
getRole(java.lang.String str) |
static java.util.EnumSet |
getSatisfyingRoles(RolesTest.Role maxRole) |
static void |
main(java.lang.String[] args) |
static void |
showRole(RolesTest.Role role) |
public static final RolesTest.Role NO_ROLE
public static final RolesTest.Role GUEST_ROLE
public static final RolesTest.Role CATALOGER_ROLE
public static final RolesTest.Role MANAGER_ROLE
public static final RolesTest.Role ADMIN_ROLE
public static void showRole(RolesTest.Role role)
public static java.util.EnumSet getSatisfyingRoles(RolesTest.Role maxRole)
public static RolesTest.Role getRole(java.lang.String str)
public static void main(java.lang.String[] args)