X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.api.slc%2Fsrc%2Forg%2Fargeo%2Fapi%2Fslc%2Fexecution%2FSlcAgentCli.java;fp=org.argeo.api.slc%2Fsrc%2Forg%2Fargeo%2Fapi%2Fslc%2Fexecution%2FSlcAgentCli.java;h=e128dd79ee2c8067860123245aae12ab503bbac1;hb=09c9e5093fe1353aaac344ac8a8caf2e1dcc0778;hp=0000000000000000000000000000000000000000;hpb=8ff996a3380166be2ae9cf0ef0fa22c58e11746a;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.api.slc/src/org/argeo/api/slc/execution/SlcAgentCli.java b/org.argeo.api.slc/src/org/argeo/api/slc/execution/SlcAgentCli.java new file mode 100644 index 000000000..e128dd79e --- /dev/null +++ b/org.argeo.api.slc/src/org/argeo/api/slc/execution/SlcAgentCli.java @@ -0,0 +1,14 @@ +package org.argeo.api.slc.execution; + +/** + * Interpret a command line and run it in the underlying agent, with the proper + * authentication. + */ +public interface SlcAgentCli { + /** + * Synchronously executes. + * + * @return the UUID of the process + */ + public String process(String[] args); +}