View Javadoc
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    * Created with IntelliJ IDEA.
9    * User: ?
10   * Date: 8/24/12
11   * Time: 1:33 PM
12   * To change this template use File | Settings | File Templates.
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  }