X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fruntime%2FSlcAgent.java;h=b7afe2269b70539222f2546adf744d4962e5375b;hb=24d560ee846fda5d7954d44f83cb22ab449dbe61;hp=d295f20b63964b6b34e3e0702046ef7c552631cd;hpb=a181e3d059185a9dc108e81f38c66f48f4e4aac8;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/runtime/SlcAgent.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/runtime/SlcAgent.java index d295f20b6..b7afe2269 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/runtime/SlcAgent.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/runtime/SlcAgent.java @@ -27,6 +27,12 @@ public interface SlcAgent { /** Agent unique identifier */ public String getAgentUuid(); + /** Execute / take part to this process */ + public void process(ExecutionProcess process); + + /** Kills this process */ + public void kill(ExecutionProcess process); + public ExecutionModuleDescriptor getExecutionModuleDescriptor( String moduleName, String version); @@ -35,8 +41,6 @@ public interface SlcAgent { /** @deprecated Use {@link #process(ExecutionProcess)} instead. */ public void runSlcExecution(SlcExecution slcExecution); - public void process(ExecutionProcess process); - /** @return true if still alive. */ public boolean ping(); }