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 useNativeOrNativeSourcesBuild
to ensure that the extension works properly when the build produces anative-sources
artifact 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 anative
build.
-
-
Constructor Summary
Constructors Constructor Description NativeBuild(PackageConfig packageConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAsBoolean()
-
-
-
Constructor Detail
-
NativeBuild
NativeBuild(PackageConfig packageConfig)
-
-
Method Detail
-
getAsBoolean
public boolean getAsBoolean()
- Specified by:
getAsBoolean
in interfaceBooleanSupplier
-
-