View Javadoc
1   package com.atlassian.plugin.descriptors;
2   
3   import java.lang.annotation.ElementType;
4   import java.lang.annotation.Inherited;
5   import java.lang.annotation.Retention;
6   import java.lang.annotation.RetentionPolicy;
7   import java.lang.annotation.Target;
8   
9   
10  /**
11   * Marks {@link com.atlassian.plugin.ModuleDescriptor} implementations that cannot be disabled.
12   * If this annotation is not present, it is assumed that the module descriptor
13   * supports disablement.
14   *
15   * @since 2.5.0
16   */
17  @Inherited
18  @Retention(RetentionPolicy.RUNTIME)
19  @Target(ElementType.TYPE)
20  public @interface CannotDisable {
21  }