1 package org.kuali.ole.ingest.krms.action;
2
3 import org.kuali.ole.OLEConstants;
4 import org.kuali.rice.krms.api.engine.ExecutionEnvironment;
5 import org.kuali.rice.krms.framework.engine.Action;
6
7
8
9
10
11
12
13
14 public class OleCheckOutAction implements Action {
15
16 private String parameter;
17
18
19 public OleCheckOutAction(String parameter) {
20 this.parameter = parameter;
21 }
22
23 @Override
24 public void execute(ExecutionEnvironment environment) {
25 environment.getEngineResults().setAttribute(OLEConstants.CHECKOUT,true);
26 }
27
28 @Override
29 public void executeSimulation(ExecutionEnvironment environment) {
30 execute(environment);
31 }
32 }