public class RoleMapping<T extends RoleMapping<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RoleMapping.RoleMappingResources
Child mutators for RoleMapping
|
Constructor and Description |
---|
RoleMapping(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
exclude(Exclude value)
Add the Exclude object to the list of subresources
|
T |
exclude(ExcludeSupplier supplier)
Install a supplied Exclude object to the list of subresources
|
T |
exclude(String childKey)
Create and configure a Exclude object to the list of subresources
|
T |
exclude(String childKey,
ExcludeConsumer consumer)
Create and configure a Exclude object to the list of subresources
|
T |
excludes(List<Exclude> value)
Add all Exclude objects to this subresource
|
String |
getKey() |
T |
include(Include value)
Add the Include object to the list of subresources
|
T |
include(IncludeSupplier supplier)
Install a supplied Include object to the list of subresources
|
T |
include(String childKey)
Create and configure a Include object to the list of subresources
|
T |
include(String childKey,
IncludeConsumer consumer)
Create and configure a Include object to the list of subresources
|
Boolean |
includeAll()
Configure if all authenticated users should be automatically assigned
this role.
|
T |
includeAll(Boolean value)
Configure if all authenticated users should be automatically assigned
this role.
|
T |
includes(List<Include> value)
Add all Include objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
RoleMapping.RoleMappingResources |
subresources() |
public RoleMapping(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public RoleMapping.RoleMappingResources subresources()
public T includes(List<Include> value)
value
- List of Include objects.public T include(Include value)
value
- The Include to addpublic T include(String childKey, IncludeConsumer consumer)
key
- The key for the Include resourceconfig
- The IncludeConsumer to usepublic T include(String childKey)
key
- The key for the Include resourcepublic T include(IncludeSupplier supplier)
public T excludes(List<Exclude> value)
value
- List of Exclude objects.public T exclude(Exclude value)
value
- The Exclude to addpublic T exclude(String childKey, ExcludeConsumer consumer)
key
- The key for the Exclude resourceconfig
- The ExcludeConsumer to usepublic T exclude(String childKey)
key
- The key for the Exclude resourcepublic T exclude(ExcludeSupplier supplier)
public Boolean includeAll()
Copyright © 2019 JBoss by Red Hat. All rights reserved.