Class ComponentModel

java.lang.Object
org.keycloak.component.ComponentModel
Direct Known Subclasses:
DeclarativeUserProfileModel, JsonConfigComponentModel, PrioritizedComponentModel

public class ComponentModel extends Object
Stored configuration of a User Storage provider instance.
Author:
Marek Posolda, Bill Burke
  • Constructor Details

    • ComponentModel

      public ComponentModel()
    • ComponentModel

      public ComponentModel(ComponentModel copy)
  • Method Details

    • getId

      @ProtoField(1) public String getId()
    • setId

      public void setId(String id)
    • getName

      @ProtoField(2) public String getName()
    • setName

      public void setName(String name)
    • getConfig

      public MultivaluedHashMap<String,String> getConfig()
    • setConfig

      public void setConfig(MultivaluedHashMap<String,String> config)
    • contains

      public boolean contains(String key)
    • get

      public String get(String key)
    • get

      public String get(String key, String defaultValue)
    • get

      public int get(String key, int defaultValue)
    • get

      public long get(String key, long defaultValue)
    • get

      public boolean get(String key, boolean defaultValue)
    • put

      public void put(String key, String value)
    • put

      public void put(String key, int value)
    • put

      public void put(String key, long value)
    • put

      public void put(String key, boolean value)
    • hasNote

      public boolean hasNote(String key)
    • getNote

      public <T> T getNote(String key)
    • setNote

      public void setNote(String key, Object object)
    • removeNote

      public void removeNote(String key)
    • getProviderId

      @ProtoField(3) public String getProviderId()
    • setProviderId

      public void setProviderId(String providerId)
    • getProviderType

      @ProtoField(4) public String getProviderType()
    • setProviderType

      public void setProviderType(String providerType)
    • getParentId

      @ProtoField(5) public String getParentId()
    • setParentId

      public void setParentId(String parentId)
    • getSubType

      @ProtoField(6) public String getSubType()
    • setSubType

      public void setSubType(String subType)
    • getConfigProto

      @ProtoField(7) public List<ComponentModel.MultiMapEntry> getConfigProto()
    • setConfigProto

      public void setConfigProto(List<ComponentModel.MultiMapEntry> configProto)