Annotation Type 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.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String unlessPropertyIsSet  
    • Element Detail

      • unlessPropertyIsSet

        java.lang.String unlessPropertyIsSet
        Default:
        ""