Annotation Type ConditionallyAccessible


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface ConditionallyAccessible
    Annotation to mark actions which should be conditionally accessible.

    Actions annotated with this annotation will only be displayed if all conditions apply. Otherwise result would be 'access denied'. Users not logged in will be first redirected to log in page.

    To hide a page instead of denying access to it, use ConditionallyAvailable.

    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>[] condition  
    • Element Detail

      • condition

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