@Address(value="/subsystem=keycloak-server") @Implicit public class KeycloakServer<T extends KeycloakServer<T>> extends HashMap implements org.wildfly.swarm.config.runtime.Keyed
| Modifier and Type | Class and Description |
|---|---|
static class |
KeycloakServer.KeycloakServerResources
Child mutators for KeycloakServer
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
KeycloakServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
String |
masterRealmName()
The name of the master admin realm.
|
T |
masterRealmName(String value)
The name of the master admin realm.
|
T |
provider(String value)
Paths to search for Keycloak provider jars.
|
List<String> |
providers()
Paths to search for Keycloak provider jars.
|
T |
providers(List<String> value)
Paths to search for Keycloak provider jars.
|
T |
providers(String... args)
Paths to search for Keycloak provider jars.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
scheduledTaskInterval()
The interval (in seconds) to run scheduled tasks.
|
T |
scheduledTaskInterval(Long value)
The interval (in seconds) to run scheduled tasks.
|
T |
spi(Spi value)
Add the Spi object to the list of subresources
|
T |
spi(SpiSupplier supplier)
Install a supplied Spi object to the list of subresources
|
T |
spi(String childKey)
Create and configure a Spi object to the list of subresources
|
T |
spi(String childKey,
SpiConsumer consumer)
Create and configure a Spi object to the list of subresources
|
T |
spis(List<Spi> value)
Add all Spi objects to this subresource
|
KeycloakServer.KeycloakServerResources |
subresources() |
T |
theme(String childKey)
Create and configure a Theme object to the list of subresources
|
T |
theme(String childKey,
ThemeConsumer consumer)
Create and configure a Theme object to the list of subresources
|
T |
theme(Theme value)
Add the Theme object to the list of subresources
|
T |
theme(ThemeSupplier supplier)
Install a supplied Theme object to the list of subresources
|
T |
themes(List<Theme> value)
Add all Theme objects to this subresource
|
String |
webContext()
Web context where Keycloak server is bound.
|
T |
webContext(String value)
Web context where Keycloak server is bound.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic String getKey()
getKey in interface org.wildfly.swarm.config.runtime.Keyedpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public KeycloakServer.KeycloakServerResources subresources()
public T themes(List<Theme> value)
value - List of Theme objects.public T theme(Theme value)
value - The Theme to addpublic T theme(String childKey, ThemeConsumer consumer)
key - The key for the Theme resourceconfig - The ThemeConsumer to usepublic T theme(String childKey)
key - The key for the Theme resourcepublic T theme(ThemeSupplier supplier)
public T spis(List<Spi> value)
value - List of Spi objects.public T spi(Spi value)
value - The Spi to addpublic T spi(String childKey, SpiConsumer consumer)
key - The key for the Spi resourceconfig - The SpiConsumer to usepublic T spi(String childKey)
key - The key for the Spi resourcepublic T spi(SpiSupplier supplier)
@ModelNodeBinding(detypedName="master-realm-name") public String masterRealmName()
@ModelNodeBinding(detypedName="providers") public List<String> providers()
@ModelNodeBinding(detypedName="scheduled-task-interval") public Long scheduledTaskInterval()
public T scheduledTaskInterval(Long value)
@ModelNodeBinding(detypedName="web-context") public String webContext()
Copyright © 2017 JBoss by Red Hat. All rights reserved.