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 voidcopyFromOption(ProviderConfigurationBuilder builder, String name, String label, String type, Option<?> option, boolean isSecret) Copies theOptioninformation into theProviderConfigurationBuilder.
-
Method Details
-
copyFromOption
public static void copyFromOption(ProviderConfigurationBuilder builder, String name, String label, String type, Option<?> option, boolean isSecret) Copies theOptioninformation 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 sourceOptionto gather the information.isSecret-trueif the property is a secret.
-