ROLE
- Type of the user role in the system under testpublic class RoleContainer<ROLE>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RoleContainer.RoleMode |
Modifier and Type | Method and Description |
---|---|
static <ROLE> RoleContainer<ROLE> |
forConsumer(UserIdentifier identifier,
RoleContainer<ROLE> producerRoleContainer,
RoleConverter<ROLE> roleConverter) |
static <ROLE> RoleContainer<ROLE> |
forProducer(UserIdentifier identifier,
RoleConverter<ROLE> roleConverter) |
java.lang.String |
getIdentifier() |
RoleContainer.RoleMode |
getMode() |
ROLE |
getRole() |
UserIdentifier |
getUserIdentifier() |
public static <ROLE> RoleContainer<ROLE> forProducer(UserIdentifier identifier, RoleConverter<ROLE> roleConverter)
public static <ROLE> RoleContainer<ROLE> forConsumer(UserIdentifier identifier, RoleContainer<ROLE> producerRoleContainer, RoleConverter<ROLE> roleConverter)
public ROLE getRole()
public RoleContainer.RoleMode getMode()
public UserIdentifier getUserIdentifier()
public java.lang.String getIdentifier()