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   * Marks {@link com.atlassian.plugin.ModuleDescriptor} implementations that require a restart of the application to
11   * start the plugin when installed at runtime.  If this annotation is not present, it is assumed that the module descriptor
12   * supports runtime installation.
13   *
14   * @since 2.1
15   */
16  @Inherited
17  @Retention(RetentionPolicy.RUNTIME)
18  @Target(ElementType.TYPE)
19  public @interface RequiresRestart
20  {
21  }