Package org.uengine.util

Examples of org.uengine.util.ActivityFor


    variables.add(new InstancePropertyPointingProcessVariable("InstanceId"));
    variables.add(new InstanceNamePointingProcessVariable());
    variables.add(new InstanceDueDatePointingProcessVariable());


    ActivityFor forLoopForAddingCommandVariables = new ActivityFor(){

      public void logic(Activity activity) {
        if (!(activity instanceof HumanActivity)) return;
       
        ProcessVariable commandVariable = new ProcessVariable();
        final HumanActivity finalActivity = (HumanActivity)activity;
       
        variables.add(new ActivityDueDatePointingProcessVariable(finalActivity));
      }
     
    };
    forLoopForAddingCommandVariables.run(def);

    String[] selections = new String[variables.size() + 1];
    selections[0] = "";
    Object[] values = new Object[variables.size() + 1];
    values[0] = null;
View Full Code Here

TOP

Related Classes of org.uengine.util.ActivityFor

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.