| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public default Path | Returns: the path of the app image directory of this buildReturns the path of the app image directory of this build. |
| public AppImageLayout | Returns: the resolved app image layout of the app image directoryReturns resolved app image layout of the app image directory. |
| public default Optional | |
| public Path | Returns: the root directory for intermediate build filesReturns root directory for intermediate build files. |
| public default Path | Returns: the path to the directory for intermediate configuration filesReturns a path to a directory for intermediate configuration files. |
| public static BuildEnv | |
| public OverridableResource | Returns: theOverridableResource instance wrapping a resource with the
given namethe resource name defaultName)Creates an |
| public Optional | Returns: the path of the resource directory or an emptyOptional
instance if non is configured with the buildReturns the path of the resource directory or an empty |
| public static BuildEnv | |
| public static BuildEnv |
| appImageDir | back to summary |
|---|---|
| public default Path appImageDir() Returns the path of the app image directory of this build.
| |
| appImageLayout | back to summary |
|---|---|
| public AppImageLayout appImageLayout() Returns resolved app image layout of the app image directory. The return
layout is resolved at
| |
| asApplicationLayout | back to summary |
|---|---|
| public default Optional | |
| buildRoot | back to summary |
|---|---|
| public Path buildRoot() Returns root directory for intermediate build files.
| |
| configDir | back to summary |
|---|---|
| public default Path configDir() Returns a path to a directory for intermediate configuration files.
| |
| create | back to summary |
|---|---|
| public static BuildEnv create(Path buildRoot, Optional<Path> resourceDir, Class<?> resourceLocator, AppImageLayout appImageLayout) | |
| createResource | back to summary |
|---|---|
| public OverridableResource createResource(String defaultName) Creates an
| |
| resourceDir | back to summary |
|---|---|
| public Optional Returns the path of the resource directory or an empty | |
| withAppImageDir | back to summary |
|---|---|
| public static BuildEnv withAppImageDir(BuildEnv env, Path appImageDir) | |
| withAppImageLayout | back to summary |
|---|---|
| public static BuildEnv withAppImageLayout(BuildEnv env, AppImageLayout appImageLayout) | |
| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Access | Constructor and Description |
|---|---|
| public |
| Internal | back to summary |
|---|---|
| public Internal() | |
| Modifier and Type | Field and Description |
|---|---|
| private final AppImageLayout | appImageLayout
Record Component accessed by appImageLayout(). |
| private final Path | buildRoot
Record Component accessed by buildRoot(). |
| private final Optional | resourceDir
Record Component accessed by resourceDir(). |
| private final Class | resourceLocator
Record Component accessed by resourceLocator(). |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultBuildEnv(Path buildRoot, Optional<Path> resourceDir, Class<?> resourceLocator, AppImageLayout appImageLayout)
|
| Modifier and Type | Method and Description |
|---|---|
| public AppImageLayout | appImageLayout()
Record Component getter of appImageLayout. Implements jdk. Returns resolved app image layout of the app image directory.
|
| public Path | buildRoot()
Record Component getter of buildRoot. Implements jdk. Returns root directory for intermediate build files.
|
| pack-priv BuildEnv. | |
| pack-priv BuildEnv. | |
| public OverridableResource | createResource(String defaultName)
Implements jdk. Creates an |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public Optional | resourceDir()
Record Component getter of resourceDir. Implements jdk. Returns the path of the resource directory or an empty
|
| public Class | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| appImageLayout | back to summary |
|---|---|
| private final AppImageLayout appImageLayout Record Component accessed by appImageLayout(). | |
| buildRoot | back to summary |
|---|---|
| private final Path buildRoot Record Component accessed by buildRoot(). | |
| resourceDir | back to summary |
|---|---|
| private final Optional<Path> resourceDir Record Component accessed by resourceDir(). | |
| resourceLocator | back to summary |
|---|---|
| private final Class<?> resourceLocator Record Component accessed by resourceLocator(). | |
| DefaultBuildEnv | back to summary |
|---|---|
| pack-priv DefaultBuildEnv(Path buildRoot, Optional<Path> resourceDir, Class<?> resourceLocator, AppImageLayout appImageLayout) | |
| appImageLayout | back to summary |
|---|---|
| public AppImageLayout appImageLayout() Record Component getter of appImageLayout. Implements jdk. Doc from jdk. Returns resolved app image layout of the app image directory. The return
layout is resolved at | |
| buildRoot | back to summary |
|---|---|
| public Path buildRoot() Record Component getter of buildRoot. Implements jdk. Doc from jdk. Returns root directory for intermediate build files. | |
| copyWithAppImageDir | back to summary |
|---|---|
| pack-priv BuildEnv. | |
| copyWithAppImageLayout | back to summary |
|---|---|
| pack-priv BuildEnv. | |
| createResource | back to summary |
|---|---|
| public OverridableResource createResource(String defaultName) Implements jdk. Doc from jdk. Creates an
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| resourceDir | back to summary |
|---|---|
| public Optional Record Component getter of resourceDir. Implements jdk. Doc from jdk. Returns the path of the resource directory or an empty | |
| resourceLocator | back to summary |
|---|---|
| public Class Record Component getter of resourceLocator. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |