Annotation Interface BuildSteps
Applies configuration to all build steps defined in the same class.
This annotation is applied at the class level, and will result in conditions (onlyIf()
/onlyIfNot()
)
being prepended to all build steps defined in that class.
This is mainly useful for "enabled"-type conditions, where all steps in a class should be enabled/disabled based on a single condition, for example based on configuration properties.
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends BooleanSupplier>[]
Only include build steps defined in this class if the given supplier class(es) returntrue
.Class<? extends BooleanSupplier>[]
Only include build steps defined in this class if the given supplier class(es) returnfalse
.
-
Element Details
-
onlyIf
Class<? extends BooleanSupplier>[] onlyIfOnly include build steps defined in this class if the given supplier class(es) returntrue
.- Returns:
- the supplier class array
- Default:
- {}
-
onlyIfNot
Class<? extends BooleanSupplier>[] onlyIfNotOnly include build steps defined in this class if the given supplier class(es) returnfalse
.- Returns:
- the supplier class array
- Default:
- {}
-