Class ScriptingBeansUtil
java.lang.Object
com.evolveum.midpoint.schema.util.ScriptingBeansUtil
Utility methods related to
ScriptingExpressionType
beans.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ExecuteScriptType
asExecuteScriptCommand
(@NotNull Object object) static @NotNull ExecuteScriptType
createExecuteScriptCommand
(@NotNull ScriptingExpressionType expression) static @NotNull String
getActionType
(@NotNull AbstractActionExpressionType action) static <T> T
getBeanPropertyValue
(AbstractActionExpressionType action, String propertyName, Class<T> clazz)
-
Constructor Details
-
ScriptingBeansUtil
public ScriptingBeansUtil()
-
-
Method Details
-
getActionType
@NotNull public static @NotNull String getActionType(@NotNull @NotNull AbstractActionExpressionType action) -
getBeanPropertyValue
public static <T> T getBeanPropertyValue(AbstractActionExpressionType action, String propertyName, Class<T> clazz) throws SchemaException - Throws:
SchemaException
-
createExecuteScriptCommand
@NotNull public static @NotNull ExecuteScriptType createExecuteScriptCommand(@NotNull @NotNull ScriptingExpressionType expression) -
asExecuteScriptCommand
@NotNull public static @NotNull ExecuteScriptType asExecuteScriptCommand(@NotNull @NotNull Object object)
-