@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface ShellMethodAvailability
value()
should be the name of an availability method (in place of
fooAvailability()) that returns Availability
.Availability
and takes no argument,
then the value()
of this annotation should be the command names (or aliases) of the
commands this availability indicator is for. The special value of "*" (the default) matches
all commands implemented in the current class.public abstract String[] value
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.