@Target(value=FIELD) @Retention(value=RUNTIME) public @interface Argument
IQuery
use @Argument
to annotate query arguments.
advice()
, Argument.Advice
, isMandatory()
and flag()
can be used to further describe arguments.
Heap dump providers using implementations of IHeapDumpProvider
and subclasses of VmInfo
can use @Argument to annotate extra arguments.Modifier and Type | Optional Element and Description |
---|---|
Argument.Advice |
advice
If needed, the type of the argument.
|
String |
flag
The name of the flag, used for query arguments table and for specifying command line arguments.
|
boolean |
isMandatory
Indicates whether the argument is mandatory (default)
|
public abstract String flag
UNFLAGGED
or "none" means for the command line
query no flag should be specified before the argument.public abstract boolean isMandatory
public abstract Argument.Advice advice