mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-08 17:59:43 +02:00
Add documentation to ListProfiles command
This commit is contained in:
parent
7e12da400b
commit
8a9f535531
1 changed files with 10 additions and 0 deletions
|
@ -8,8 +8,18 @@ import sop.Profile;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Subcommand to list supported profiles of other subcommands.
|
||||||
|
*/
|
||||||
public interface ListProfiles {
|
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. <pre>generate-key</pre>)
|
||||||
|
* @return list of profiles.
|
||||||
|
*/
|
||||||
List<Profile> subcommand(String command);
|
List<Profile> subcommand(String command);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue