Class GroupConfigPropertyByPathSynchronizer
- java.lang.Object
- 
- org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
- 
- org.keycloak.broker.provider.mappersync.GroupConfigPropertyByPathSynchronizer
 
 
- 
- All Implemented Interfaces:
- ConfigSynchronizer<GroupModel.GroupPathChangeEvent>
 
 public class GroupConfigPropertyByPathSynchronizer extends AbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent> Updates a group reference in a mapper config, when the path of a group changes.- Author:
- Daniel Fesenmeyer
 
- 
- 
Field SummaryFields Modifier and Type Field Description static GroupConfigPropertyByPathSynchronizerINSTANCE
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RealmModelextractRealm(GroupModel.GroupPathChangeEvent event)StringgetConfigPropertyName()Class<GroupModel.GroupPathChangeEvent>getEventClass()protected voidupdateConfigPropertyIfNecessary(GroupModel.GroupPathChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater)- 
Methods inherited from class org.keycloak.broker.provider.mappersync.AbstractConfigPropertySynchronizerhandleEvent
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final GroupConfigPropertyByPathSynchronizer INSTANCE 
 
- 
 - 
Method Detail- 
getEventClasspublic Class<GroupModel.GroupPathChangeEvent> getEventClass() 
 - 
extractRealmpublic RealmModel extractRealm(GroupModel.GroupPathChangeEvent event) 
 - 
getConfigPropertyNamepublic String getConfigPropertyName() - Specified by:
- getConfigPropertyNamein class- AbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
 
 - 
updateConfigPropertyIfNecessaryprotected void updateConfigPropertyIfNecessary(GroupModel.GroupPathChangeEvent event, String currentPropertyValue, Consumer<String> propertyUpdater) - Specified by:
- updateConfigPropertyIfNecessaryin class- AbstractConfigPropertySynchronizer<GroupModel.GroupPathChangeEvent>
 
 
- 
 
-