Uses of Class
com.sap.cloud.sdk.cloudplatform.thread.Property
Packages that use Property
-
Uses of Property in com.sap.cloud.sdk.cloudplatform.thread
Methods in com.sap.cloud.sdk.cloudplatform.thread that return PropertyModifier 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.Methods in com.sap.cloud.sdk.cloudplatform.thread that return types with arguments of type PropertyModifier 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.Methods in com.sap.cloud.sdk.cloudplatform.thread with parameters of type PropertyModifier 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.Method parameters in com.sap.cloud.sdk.cloudplatform.thread with type arguments of type PropertyModifier 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.