Class ScriptingBeansUtil
java.lang.Object
com.evolveum.midpoint.schema.util.ScriptingBeansUtil
Utility methods related to
ScriptingExpressionType beans.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ExecuteScriptTypeasExecuteScriptCommand(@NotNull Object object) static @NotNull ExecuteScriptTypecreateExecuteScriptCommand(@NotNull ScriptingExpressionType expression) static @NotNull StringgetActionType(@NotNull AbstractActionExpressionType action) static <T> TgetBeanPropertyValue(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)
-