Package io.quarkus.deployment.pkg.steps
Class NativeBuild
- java.lang.Object
-
- io.quarkus.deployment.pkg.steps.NativeBuild
-
- All Implemented Interfaces:
BooleanSupplier
public class NativeBuild extends Object implements BooleanSupplier
Supplier that can be used to only run build steps in the native build. WARNING: In most cases extensions will want to useNativeOrNativeSourcesBuildto ensure that the extension works properly when the build produces anative-sourcesartifact instead of a native binary. This build item should be used only when there is a real need for a step to run exclusively for anativebuild.
-
-
Constructor Summary
Constructors Constructor Description NativeBuild(PackageConfig packageConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAsBoolean()
-
-
-
Constructor Detail
-
NativeBuild
NativeBuild(PackageConfig packageConfig)
-
-
Method Detail
-
getAsBoolean
public boolean getAsBoolean()
- Specified by:
getAsBooleanin interfaceBooleanSupplier
-
-