1 package org
.argeo
.slc
.client
.ui
.controllers
;
3 import org
.argeo
.slc
.process
.SlcExecution
;
4 import org
.argeo
.slc
.runtime
.SlcAgent
;
5 import org
.argeo
.slc
.services
.SlcExecutionService
;
7 public class ProcessController
{
8 private SlcExecutionService slcExecutionService
;
10 public void execute(SlcAgent agent
, SlcExecution slcExecution
) {
11 slcExecutionService
.newExecution(slcExecution
);
12 agent
.runSlcExecution(slcExecution
);
15 public void setSlcExecutionService(SlcExecutionService slcExecutionService
) {
16 this.slcExecutionService
= slcExecutionService
;