Package org.activiti.cdi.annotation

Examples of org.activiti.cdi.annotation.ProcessVariable


    for (Field field : ctx.getMethod().getDeclaringClass().getDeclaredFields()) {
      if (!field.isAnnotationPresent(ProcessVariable.class)) {
        continue;
      }
      field.setAccessible(true);
      ProcessVariable processStartVariable = field.getAnnotation(ProcessVariable.class);
      String fieldName = processStartVariable.value();
      if (fieldName == null || fieldName.length() == 0) {
        fieldName = field.getName();
      }
      Object value = field.get(ctx.getTarget());
      variables.put(fieldName, value);
View Full Code Here


    for (Field field : ctx.getMethod().getDeclaringClass().getDeclaredFields()) {
      if (!field.isAnnotationPresent(ProcessVariable.class)) {
        continue;
      }
      field.setAccessible(true);
      ProcessVariable processStartVariable = field.getAnnotation(ProcessVariable.class);
      String fieldName = processStartVariable.value();
      if (fieldName == null || fieldName.length() == 0) {
        fieldName = field.getName();
      }
      Object value = field.get(ctx.getTarget());
      variables.put(fieldName, value);
View Full Code Here

TOP

Related Classes of org.activiti.cdi.annotation.ProcessVariable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.