@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface ShellMethod
| Modifier and Type | Fields and Description | 
|---|---|
| static String | INHERITEDThe 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 | groupThe command group which this command belongs to. | 
| InteractionMode | interactionModeDefines interaction mode for a command as a hint when command should be
 available. | 
| String[] | keyThe name(s) by which this method can be invoked via Spring Shell. | 
| String | prefixThe prefix to use for assigning parameters by name. | 
| String | valueA 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 © 2022. All rights reserved.