Package org.keycloak.spi.infinispan.impl
Class Util
java.lang.Object
org.keycloak.spi.infinispan.impl.Util
Utility method for this package and subpackages
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyFromOption
(ProviderConfigurationBuilder builder, String name, String label, String type, Option<?> option, boolean isSecret) Copies theOption
information into theProviderConfigurationBuilder
.
-
Method Details
-
copyFromOption
public static void copyFromOption(ProviderConfigurationBuilder builder, String name, String label, String type, Option<?> option, boolean isSecret) Copies theOption
information into theProviderConfigurationBuilder
.- Parameters:
builder
- The property to set/configure.name
- The desired property name.label
- The label of the property's argument.type
- The type of the property's value.option
- The sourceOption
to gather the information.isSecret
-true
if the property is a secret.
-