Class VariablesUtil
java.lang.Object
com.evolveum.midpoint.model.impl.scripting.VariablesUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull VariablesMap
cloneIfNecessary
(@NotNull VariablesMap variables) static <T> @Nullable TypedValue<T>
cloneIfNecessary
(String name, TypedValue<T> valueAndDef) static <T> T
cloneIfNecessary
(String name, T value) static <T> TypedValue<T>
makeImmutable
(TypedValue<T> valueAndDef) static <T> T
makeImmutableValue
(T value) static <T> T
tryMakingImmutable
(T value)
-
Constructor Details
-
VariablesUtil
public VariablesUtil()
-
-
Method Details
-
cloneIfNecessary
@NotNull public static @NotNull VariablesMap cloneIfNecessary(@NotNull @NotNull VariablesMap variables) -
cloneIfNecessary
@Nullable public static <T> @Nullable TypedValue<T> cloneIfNecessary(String name, TypedValue<T> valueAndDef) -
cloneIfNecessary
-
makeImmutable
-
makeImmutableValue
public static <T> T makeImmutableValue(T value) -
tryMakingImmutable
@Nullable public static <T> T tryMakingImmutable(T value)
-