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
8
9
10
11
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 }