Package org.jenkinsci.plugins.variant
Annotation Interface OptionalExtension
Works like
Extension
except the activation of the extension is contingent
on the presence of specific requirePlugins and/or classes.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
ordinal
double ordinalUsed for sorting extensions. Extensions will be sorted in the descending order of the ordinal. This is a rather poor approach to the problem, so its use is generally discouraged.- Default:
- 0.0
-
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:
- {}
-