Package org.sonar.api.batch
Annotation Type InstantiationStrategy
-
@Deprecated @Retention(RUNTIME) @Target(TYPE) public @interface InstantiationStrategy
Deprecated.since 7.6 removal of modules and tasks is planned. All extensions should progressively move to the project scope, usingScannerSide
Define instantiation strategy of batch IoC components. If a component is not annotated, then default value isPER_PROJECT
.- Since:
- 4.4
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
PER_BATCH
Deprecated.Shared extension.static java.lang.String
PER_PROJECT
Deprecated.Created and initialized for each project and sub-project (a project is a module in Maven terminology).static java.lang.String
PER_TASK
Deprecated.Shared task extension.
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
Deprecated.
-