| Modifier and Type | Class and Description |
|---|---|
| public static record | LinuxPackageMixin.
Default implementation of |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | Returns: a string with the additional dependencies of this packageGets a string with the additional dependencies of this package. |
| public String | Returns: the platform architecture of this packageGets the platform architecture of this package. |
| public Optional | |
| public String | Returns: the name of the start menu group where to create shortcuts for application launchers of this packageGets the name of the start menu group where to create shortcuts for application launchers of this package. |
| public Optional |
| additionalDependencies | back to summary |
|---|---|
| public Optional Gets a string with the additional dependencies of this package. Returns an
empty | |
| arch | back to summary |
|---|---|
| public String arch() Gets the platform architecture of this package.
| |
| category | back to summary |
|---|---|
| public Optional Gets the category of this package. For RPM packages this is the value of the optional "Group" property. For DEB packages this is the value of the mandatory "Section" property. The present list of recognized values. | |
| menuGroupName | back to summary |
|---|---|
| public String menuGroupName() Gets the name of the start menu group where to create shortcuts for application launchers of this package. It sets the value of the "Categories" property in .desktop files of the package. Should be one of the values from https://specifications.freedesktop.org/menu/latest/category-registry.html
| |
| release | back to summary |
|---|---|
| public Optional Gets the release of this package. Returns an empty For RPM packages, this is the value of the "Release" property in spec file. RPM packages always have a release.
For DEB packages, this is an optional | |
LinuxPackageMixin interface.
| Modifier and Type | Field and Description |
|---|---|
| private final Optional | additionalDependencies
Record Component accessed by additionalDependencies(). |
| private final String | |
| private final Optional | category
Record Component accessed by category(). |
| private final String | menuGroupName
Record Component accessed by menuGroupName(). |
| private final Optional |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | additionalDependencies()
Record Component getter of additionalDependencies. Implements jdk. Gets a string with the additional dependencies of this package.
|
| public String | arch()
Record Component getter of arch. Implements jdk. Gets the platform architecture of this package.
|
| public Optional | category()
Record Component getter of category. Implements jdk. Gets the category of this package.
|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public String | menuGroupName()
Record Component getter of menuGroupName. Implements jdk. Gets the name of the start menu group where to create shortcuts for application launchers of this package.
|
| public Optional | release()
Record Component getter of release. Implements jdk. Gets the release of this package.
|
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| additionalDependencies | back to summary |
|---|---|
| private final Optional<String> additionalDependencies Record Component accessed by additionalDependencies(). | |
| arch | back to summary |
|---|---|
| private final String arch Record Component accessed by arch(). | |
| category | back to summary |
|---|---|
| private final Optional<String> category Record Component accessed by category(). | |
| menuGroupName | back to summary |
|---|---|
| private final String menuGroupName Record Component accessed by menuGroupName(). | |
| release | back to summary |
|---|---|
| private final Optional<String> release Record Component accessed by release(). | |
| Stub | back to summary |
|---|---|
| public Stub(String menuGroupName, Optional<String> category, Optional<String> additionalDependencies, Optional<String> release, String arch) | |
| additionalDependencies | back to summary |
|---|---|
| public Optional Record Component getter of additionalDependencies. Implements jdk. Doc from jdk. Gets a string with the additional dependencies of this package. Returns an
empty | |
| arch | back to summary |
|---|---|
| public String arch() Record Component getter of arch. Implements jdk. Doc from jdk. Gets the platform architecture of this package. | |
| category | back to summary |
|---|---|
| public Optional Record Component getter of category. Implements jdk. Doc from jdk. Gets the category of this package. For RPM packages this is the value of the optional "Group" property. For DEB packages this is the value of the mandatory "Section" property. The present list of recognized values. | |
| 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 | |
| menuGroupName | back to summary |
|---|---|
| public String menuGroupName() Record Component getter of menuGroupName. Implements jdk. Doc from jdk. Gets the name of the start menu group where to create shortcuts for application launchers of this package. It sets the value of the "Categories" property in .desktop files of the package. Should be one of the values from https://specifications.freedesktop.org/menu/latest/category-registry.html | |
| release | back to summary |
|---|---|
| public Optional Record Component getter of release. Implements jdk. Doc from jdk. Gets the release of this package. Returns an empty For RPM packages, this is the value of the "Release" property in spec file. RPM packages always have a release.
For DEB packages, this is an optional | |
| 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. | |