Class OutputTargetBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.deployment.pkg.builditem.OutputTargetBuildItem
public final class OutputTargetBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
The location that output artifacts should be created in.
-
Constructor Summary
ConstructorsConstructorDescriptionOutputTargetBuildItem(Path outputDirectory, String baseName, boolean rebuild, Properties buildSystemProperties, Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> includedOptionalDependencies) Deprecated, for removal: This API element is subject to removal in a future version.OutputTargetBuildItem(Path outputDirectory, String baseName, String originalBaseName, boolean rebuild, Properties buildSystemProperties, Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> includedOptionalDependencies) -
Method Summary
Modifier and TypeMethodDescriptionBase name for the Quarkus application runner file.The base name (not including the extension) of the original JAR generated by the build system.boolean
-
Constructor Details
-
OutputTargetBuildItem
@Deprecated(forRemoval=true) public OutputTargetBuildItem(Path outputDirectory, String baseName, boolean rebuild, Properties buildSystemProperties, Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> includedOptionalDependencies) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
outputDirectory- build output directorybaseName- base runner namerebuild- indicates whether the application is being re-builtbuildSystemProperties- build system propertiesincludedOptionalDependencies- included optional dependencies
-
OutputTargetBuildItem
-
-
Method Details
-
getOutputDirectory
-
getBaseName
Base name for the Quarkus application runner file.- Returns:
- base name for the Quarkus application runner file
-
getOriginalBaseName
The base name (not including the extension) of the original JAR generated by the build system. This name could be different from the value ofgetBaseName(), which will be used for the Quarkus runner file.- Returns:
- name of the original JAR generated by the build system
-
isRebuild
public boolean isRebuild() -
getBuildSystemProperties
-
getIncludedOptionalDependencies
-
OutputTargetBuildItem(Path, String, String, boolean, Properties, Optional)