Uses of Class
com.sap.cloud.sdk.cloudplatform.thread.Property
-
Uses of Property in com.sap.cloud.sdk.cloudplatform.thread
Modifier and TypeMethodDescriptionstatic <T> Property<T>
Property.of
(T value) Creates a non-confidential property from the given value.static <T> Property<T>
Property.ofConfidential
(T confidentialValue) Creates a confidential property from the given value.static <T> Property<T>
Property.ofConfidentialTry
(io.vavr.control.Try<T> confidentialValueTry) Creates a confidential property from a givenTry
of a value.static <T> Property<T>
Property.ofTry
(io.vavr.control.Try<T> valueTry) Creates a non-confidential property from a givenTry
of a value.Modifier and TypeMethodDescriptionProperty.decorateCallable
(Callable<?> valueGenerator) Decorate a callable, wrapping its return value into a property for convenience.Property.decorateConfidentialCallable
(Callable<?> valueGenerator) Decorate a callable, wrapping its return value into a confidential property for convenience.DefaultThreadContext.getProperties()
<T> io.vavr.control.Option<Property<T>>
DefaultThreadContext.removeProperty
(String name) <T> io.vavr.control.Option<Property<T>>
ThreadContext.removeProperty
(String name) Removes the property with the given name.Modifier and TypeMethodDescriptiondefault void
ThreadContext.setProperty
(String name, Property<?> value) Set a value for the property for the given name, independent whether it has been set before.void
DefaultThreadContext.setPropertyIfAbsent
(String name, Property<?> value) void
ThreadContext.setPropertyIfAbsent
(String name, Property<?> value) Sets a value for the property for the given name, if it has not been set before.Modifier and TypeMethodDescriptiondefault void
ThreadContext.setPropertyIfAbsent
(String name, Callable<Property<?>> valueGenerator) Sets a value for the property for the given name, if it has not been set before.