@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface ShellMethod
| Modifier and Type | Fields and Description |
|---|---|
static String |
INHERITED
The default value for
group(), meaning that the group will be inherited from the explicit value set
on the containing element (class then package) or ultimately inferred. |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
group
The command group which this command belongs to.
|
InteractionMode |
interactionMode
Defines interaction mode for a command as a hint when command should be
available.
|
String[] |
key
The name(s) by which this method can be invoked via Spring Shell.
|
String |
prefix
The prefix to use for assigning parameters by name.
|
String |
value
A description for the command.
|
public static final String INHERITED
group(), meaning that the group will be inherited from the explicit value set
on the containing element (class then package) or ultimately inferred.ShellCommandGrouppublic abstract String[] key
public abstract String value
public abstract String prefix
public abstract String group
public abstract InteractionMode interactionMode
InteractionMode.ALLCopyright © 2023. All rights reserved.