View Javadoc

1   package org.kuali.ole.ingest.krms.action;
2   
3   import org.kuali.rice.krms.api.engine.ExecutionEnvironment;
4   import org.kuali.rice.krms.framework.engine.Action;
5   
6   /**
7    * Created with IntelliJ IDEA.
8    * User: ?
9    * Date: 8/24/12
10   * Time: 1:33 PM
11   * To change this template use File | Settings | File Templates.
12   */
13  public class OleStatusAction implements Action {
14      private String statusAction;
15  
16      public OleStatusAction(String statusAction) {
17          this.statusAction = statusAction;
18      }
19  
20      @Override
21      public void execute(ExecutionEnvironment environment) {
22          environment.getEngineResults().setAttribute("statusAction",statusAction);
23      }
24  
25      @Override
26      public void executeSimulation(ExecutionEnvironment environment) {
27          execute(environment);
28      }
29  }