Package io.quarkus.deployment.pkg.steps
Class NativeOrNativeSourcesBuild
- java.lang.Object
-
- io.quarkus.deployment.pkg.steps.NativeOrNativeSourcesBuild
-
- All Implemented Interfaces:
BooleanSupplier
public class NativeOrNativeSourcesBuild extends Object implements 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 ofNativeBuild
.
-
-
Constructor Summary
Constructors Constructor Description NativeOrNativeSourcesBuild(PackageConfig packageConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAsBoolean()
-
-
-
Constructor Detail
-
NativeOrNativeSourcesBuild
NativeOrNativeSourcesBuild(PackageConfig packageConfig)
-
-
Method Detail
-
getAsBoolean
public boolean getAsBoolean()
- Specified by:
getAsBoolean
in interfaceBooleanSupplier
-
-