Annotation Interface Disabled


@Inherited @Documented @Retention(RUNTIME) @Target(TYPE) public @interface Disabled
This annotation disables a 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.
  • Element Details

    • unlessPropertyIsSet

      String unlessPropertyIsSet
      Default:
      ""