@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Command
Modifier and Type | Required Element and Description |
---|---|
String |
name
Name of the command
|
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Description of the command
|
String[] |
groupNames
The group(s) this command should belong to.
|
boolean |
hidden
If true, this command won't appear in help
|
public abstract String name
public abstract String description
public abstract boolean hidden
public abstract String[] groupNames
If a group name contains spaces then this is interpreted as referring to
a sub-group, for example foo bar
would place this command into
the bar
group which would be placed as a sub-group of the
foo
group.
Copyright © 2012–2017. All rights reserved.