diff --git a/sop-java/src/main/java/sop/operation/ListProfiles.java b/sop-java/src/main/java/sop/operation/ListProfiles.java index 87bb3b3..5514649 100644 --- a/sop-java/src/main/java/sop/operation/ListProfiles.java +++ b/sop-java/src/main/java/sop/operation/ListProfiles.java @@ -8,8 +8,18 @@ import sop.Profile; import java.util.List; +/** + * Subcommand to list supported profiles of other subcommands. + */ public interface ListProfiles { + /** + * Provide the name of the subcommand for which profiles shall be listed. + * The returned list of profiles MUST NOT contain more than 4 entries. + * + * @param command command name (e.g.
generate-key
) + * @return list of profiles. + */ List subcommand(String command); }