Class VariablesUtil
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.VariablesUtil
-
public class VariablesUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description VariablesUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @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)
-
-
-
Method Detail
-
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
@Nullable public static <T> T cloneIfNecessary(String name, T value)
-
makeImmutable
public static <T> TypedValue<T> makeImmutable(TypedValue<T> valueAndDef)
-
makeImmutableValue
public static <T> T makeImmutableValue(T value)
-
tryMakingImmutable
@Nullable public static <T> T tryMakingImmutable(T value)
-
-