java.lang.Object
de.hybris.platform.ordermanagementfacades.workflow.converters.populator.WorkflowActionPopulator
All Implemented Interfaces:
Populator<WorkflowActionModel,WorkflowActionData>

public class WorkflowActionPopulator extends Object implements Populator<WorkflowActionModel,WorkflowActionData>
Converter implementation for WorkflowActionModel as source and WorkflowActionData as target type.
  • Constructor Details

    • WorkflowActionPopulator

      public WorkflowActionPopulator()
  • Method Details

    • populate

      public void populate(WorkflowActionModel source, WorkflowActionData target)
      Description copied from interface: Populator
      Populate the target instance with values from the source instance.
      Specified by:
      populate in interface Populator<WorkflowActionModel,WorkflowActionData>
      Parameters:
      source - the source object
      target - the target to fill
    • invokeMethod

      protected <T> T invokeMethod(Object object, String name, 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