1 package com.atlassian.plugin.descriptors;
2
3 import java.lang.annotation.Retention;
4 import java.lang.annotation.RetentionPolicy;
5 import java.lang.annotation.Target;
6 import java.lang.annotation.ElementType;
7
8 /**
9 * Marks {@link com.atlassian.plugin.ModuleDescriptor} implementations that require a restart of the application to
10 * start the plugin when installed at runtime. If this annotation is not present, it is assumed that the module descriptor
11 * supports runtime installation.
12 *
13 * @since 2.1
14 */
15 @Retention(RetentionPolicy.RUNTIME)
16 @Target(ElementType.TYPE)
17 public @interface RequiresRestart
18 {
19 }