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 SimpleBuildItem
The location that output artifacts should be created in TODO: should we just create them in temp directories, and leave it up to the integration to move them where they want?
-
-
Constructor Summary
Constructors Constructor Description 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.OutputTargetBuildItem(Path outputDirectory, String baseName, String originalBaseName, boolean rebuild, Properties buildSystemProperties, Optional<Set<io.quarkus.maven.dependency.ArtifactKey>> includedOptionalDependencies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseName()
Base name for the Quarkus application runner file.Properties
getBuildSystemProperties()
Optional<Set<io.quarkus.maven.dependency.ArtifactKey>>
getIncludedOptionalDependencies()
String
getOriginalBaseName()
The base name (not including the extension) of the original JAR generated by the build system.Path
getOutputDirectory()
boolean
isRebuild()
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
getOutputDirectory
public Path getOutputDirectory()
-
getBaseName
public String getBaseName()
Base name for the Quarkus application runner file.- Returns:
- base name for the Quarkus application runner file
-
getOriginalBaseName
public String 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 of {@ #getBaseName()}, 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
public Properties getBuildSystemProperties()
-
-