public class SecuritySetting<T extends SecuritySetting<T>> extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SecuritySetting.SecuritySettingResources
Child mutators for SecuritySetting 
 | 
| Constructor and Description | 
|---|
SecuritySetting(String key)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
String | 
getKey()  | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
T | 
role(Role value)
Add the Role object to the list of subresources 
 | 
T | 
role(RoleSupplier supplier)
Install a supplied Role object to the list of subresources 
 | 
T | 
role(String childKey)
Create and configure a Role object to the list of subresources 
 | 
T | 
role(String childKey,
    RoleConsumer consumer)
Create and configure a Role object to the list of subresources 
 | 
T | 
roles(List<Role> value)
Add all Role objects to this subresource 
 | 
SecuritySetting.SecuritySettingResources | 
subresources()  | 
public SecuritySetting(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public SecuritySetting.SecuritySettingResources subresources()
public T roles(List<Role> value)
value - List of Role objects.public T role(Role value)
value - The Role to addpublic T role(String childKey, RoleConsumer consumer)
key - The key for the Role resourceconfig - The RoleConsumer to usepublic T role(String childKey)
key - The key for the Role resourcepublic T role(RoleSupplier supplier)
Copyright © 2018 JBoss by Red Hat. All rights reserved.