Refactor Argeo API
[gpl/argeo-slc.git] / org.argeo.api.slc / src / org / argeo / api / slc / execution / SlcAgentCli.java
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 (file)
index 0000000..e128dd7
--- /dev/null
@@ -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);
+}