Package org.keycloak.compatibility
Class AbstractCompatibilityMetadataProvider
java.lang.Object
org.keycloak.compatibility.AbstractCompatibilityMetadataProvider
- All Implemented Interfaces:
CompatibilityMetadataProvider
- Direct Known Subclasses:
CachingEmbeddedMetadataProvider,CachingRemoteMetadataProvider,JGroupsCertificatesMetadataProvider
public abstract class AbstractCompatibilityMetadataProvider
extends Object
implements CompatibilityMetadataProvider
-
Field Summary
Fields inherited from interface org.keycloak.compatibility.CompatibilityMetadataProvider
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()protected abstract booleanisEnabled(Config.Scope scope) metadata()Provides the metadata to be persisted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.compatibility.CompatibilityMetadataProvider
isCompatible, priority
-
Constructor Details
-
AbstractCompatibilityMetadataProvider
-
-
Method Details
-
isEnabled
-
metadata
Description copied from interface:CompatibilityMetadataProviderProvides the metadata to be persisted.If an empty
Mapis returned, no information about this implementation will be persisted. Anullreturn value is not supported, and it will interrupt the process.- Specified by:
metadatain interfaceCompatibilityMetadataProvider- Returns:
- The metadata required by this provider to determine if a rolling update is possible.
-
getId
- Specified by:
getIdin interfaceCompatibilityMetadataProvider- Returns:
- The ID of this implementation. It should be unique as implementation with the same ID and priority is not valid.
-
customMeta
-
configKeys
-