You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2021/04/13 17:13:21 UTC

[sling-org-apache-sling-committer-cli] branch master updated: SLING-10294 documenting expected return codes

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new e99db7a  SLING-10294 documenting expected return codes
e99db7a is described below

commit e99db7aa0aa908f40274047e78401fa7b97b44e4
Author: Dan Klco <kl...@adobe.com>
AuthorDate: Tue Apr 13 13:13:09 2021 -0400

    SLING-10294 documenting expected return codes
---
 src/main/java/org/apache/sling/cli/impl/Command.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/sling/cli/impl/Command.java b/src/main/java/org/apache/sling/cli/impl/Command.java
index b254c69..9e0ba6b 100644
--- a/src/main/java/org/apache/sling/cli/impl/Command.java
+++ b/src/main/java/org/apache/sling/cli/impl/Command.java
@@ -20,6 +20,9 @@ import java.util.concurrent.Callable;
 
 /**
  * Marker interface for {@code Commands} supported by the Apache Sling Committer CLI.
+ * The {@code call} method is expected to return on of the exit codes found in {@code CommandLine.ExitCode}
+ * 
+ * @see picocli.CommandLine.ExitCode
  */
 public interface Command extends Callable<Integer> {