Annotation Interface ConditionallyAvailable


@Retention(RUNTIME) @Target(TYPE) public @interface ConditionallyAvailable
Annotation to mark actions which should be conditionally visible.

Actions annotated with this annotation will only be displayed if all conditions apply. Otherwise page will appear as 'not found'. For denying access to an action, use ConditionallyAccessible instead.

Current limitation is that Condition class needs to be available for HostContainer to create.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends com.atlassian.plugin.web.Condition>[]
     
  • Element Details

    • condition

      Class<? extends com.atlassian.plugin.web.Condition>[] condition