Class AbstractConfigPropertySynchronizer<T extends ProviderEvent>
- java.lang.Object
- 
- org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer<T>
 
- 
- All Implemented Interfaces:
- ConfigSynchronizer<T>
 - Direct Known Subclasses:
- GroupConfigPropertyByPathSynchronizer,- RoleConfigPropertyByClientIdSynchronizer,- RoleConfigPropertyByRoleNameSynchronizer
 
 public abstract class AbstractConfigPropertySynchronizer<T extends ProviderEvent> extends Object implements ConfigSynchronizer<T> Abstract base class for updating a single reference (specified via a single config property).- Author:
- Daniel Fesenmeyer
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractConfigPropertySynchronizer()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringgetConfigPropertyName()voidhandleEvent(T event, IdentityProviderMapperModel idpMapper)protected abstract voidupdateConfigPropertyIfNecessary(T event, String currentPropertyValue, Consumer<String> propertyUpdater)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.broker.provider.mappersync.ConfigSynchronizerextractRealm, getEventClass
 
- 
 
- 
- 
- 
Method Detail- 
getConfigPropertyNameprotected abstract String getConfigPropertyName() 
 - 
updateConfigPropertyIfNecessaryprotected abstract void updateConfigPropertyIfNecessary(T event, String currentPropertyValue, Consumer<String> propertyUpdater) 
 - 
handleEventpublic final void handleEvent(T event, IdentityProviderMapperModel idpMapper) - Specified by:
- handleEventin interface- ConfigSynchronizer<T extends ProviderEvent>
 
 
- 
 
-