Class VariablesUtil
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.scripting.VariablesUtil
-
public class VariablesUtil extends Object
- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description VariablesUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VariablesMap
cloneIfNecessary(VariablesMap variables)
static <T> 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 VariablesMap cloneIfNecessary(@NotNull VariablesMap variables)
-
cloneIfNecessary
@Nullable public static <T> 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)
-
-