@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.
|
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.ShellCommandGroup
public abstract String[] key
public abstract String value
public abstract String prefix
public abstract String group
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.