Class WorkflowActionPopulator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T> T invokeMethod​(java.lang.Object object, java.lang.String name, java.lang.Class<T> targetClass)
      Use reflection to invoke a method of an object
      void populate​(WorkflowActionModel source, WorkflowActionData target)
      Populate the target instance with values from the source instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowActionPopulator

        public WorkflowActionPopulator()
    • Method Detail

      • invokeMethod

        protected <T> T invokeMethod​(java.lang.Object object,
                                     java.lang.String name,
                                     java.lang.Class<T> targetClass)
        Use reflection to invoke a method of an object
        Parameters:
        object - the object to invoke on
        name - the method name
        targetClass - the target class of return type
        Returns:
        value of the invocation