@Inherited @Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Disabled
GfshCommand
class from being loaded by the
CommandManager
unless the provided flag value exists in the VM's environment.
Because the default value is an empty string, and because System.getProperty("")
invalid, a class annotated with @Disabled
cannot be reached other than explicit
instantiation of the class.Modifier and Type | Optional Element and Description |
---|---|
String |
unlessPropertyIsSet |
public abstract String unlessPropertyIsSet