Package org.jenkinsci.plugins.variant
Annotation Interface OptionalPackage
Works in conjunction with
OptionalExtension
to allow you to turn
the entire packages conditional.
This annotation is only effective for classes that are direct members of the package.
For example, if you put this annotation on com.example
, com.example.sub.Foo
will not be affected. This is due to the way Java package works.
- Author:
- Kohsuke Kawaguchi
-
Element Details
-
requirePlugins
String[] requirePluginsShort names of the plugins that are required to trigger this extension.- Default:
- {}
-
requireClasses
Class[] requireClassesClasses that are required to activate this extension.- Default:
- {}
-
requireVariants
String[] requireVariantsVariants that are required to activate this extension.- Default:
- {}
-