Package io.quarkus.deployment.pkg.steps
Class NativeOrNativeSourcesBuild
java.lang.Object
io.quarkus.deployment.pkg.steps.NativeOrNativeSourcesBuild
- All Implemented Interfaces:
BooleanSupplier
Supplier that can be used to only run build steps in the
native or native sources builds.
Most build steps that need to be run conditionally should use this instead of
NativeBuild
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NativeOrNativeSourcesBuild
NativeOrNativeSourcesBuild(PackageConfig packageConfig)
-
-
Method Details
-
getAsBoolean
public boolean getAsBoolean()- Specified by:
getAsBoolean
in interfaceBooleanSupplier
-