Interface IStringAttributesMixin
-
- All Known Subinterfaces:
IAuthenticatorConfig,IAuthenticatorConfigWrapper
- All Known Implementing Classes:
AAuthenticatorConfig,AConfigViewModel,AnonymousConfigViewModel,AnonymousConfigWrapper,BaseConfigViewModel,EntityConfigWrapper,FormConfigWrapper,KerberosConfigWrapper,NtlmConfigWrapper,PasswordConfigViewModel,PasswordConfigWrapper,ProjectAuthenticatorConfig,VirtualAuthenticatorConfig,WorkflowStateAuthenticatorConfig
public interface IStringAttributesMixinMixin providing utility methods for storing values in a string map- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Map<String,String>getAttributes()default StringgetAttributeValue(String key)Get theStringvalue of the attribute with the given keydefault List<String>getAttributeValueList(String key)Get theListvalue of the attribute with the given keydefault Map<String,String>getAttributeValueMap(String key)Get theMapvalue of the attribute with the given keydefault voidputAttribute(String key, String value)Puts the givenStringvalue for the given key in the attribute map.default voidputAttributes(String key, List<String> values)Puts the givenListvalue for the given key in the attribute map.default voidputAttributes(String key, Map<String,String> valueMap)Puts the givenMapvalue for the given key in the attribute map.default StringremoveAttribute(String key)Removes the attributes for the given key
-
-
-
Method Detail
-
getAttributeValue
default String getAttributeValue(String key)
Get theStringvalue of the attribute with the given key
-
getAttributeValueList
default List<String> getAttributeValueList(String key)
Get theListvalue of the attribute with the given key
-
getAttributeValueMap
default Map<String,String> getAttributeValueMap(String key)
Get theMapvalue of the attribute with the given key
-
putAttribute
default void putAttribute(String key, String value)
Puts the givenStringvalue for the given key in the attribute map. If the value is empty then the key will be removed from the map
-
putAttributes
default void putAttributes(String key, List<String> values)
Puts the givenListvalue for the given key in the attribute map. If the value is empty then the key will be removed from the map
-
putAttributes
default void putAttributes(String key, Map<String,String> valueMap)
Puts the givenMapvalue for the given key in the attribute map. If the value is empty then the key will be removed from the map
-
-