APIdia Launch Partner
Top Inners Methods
jdk.jpackage.internal

pack-priv Interface LinuxRpmSystemEnvironmentMixin

Known Direct Subinterfaces
jdk.jpackage.internal.LinuxRpmSystemEnvironment
Known Direct Implementers
jdk.jpackage.internal.LinuxRpmSystemEnvironmentMixin.Stub
Imports
java.nio.file.Path, java.util.Objects, java.util.regex.Matcher, .Pattern, java.util.stream.Stream, jdk.jpackage.internal.model.DottedVersion, jdk.jpackage.internal.util.Result

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static record

Method Summary

Modifier and TypeMethod and Description
public static Result<LinuxRpmSystemEnvironmentMixin>
public Path
rpm()

public Path

Method Detail

createback to summary
public static Result<LinuxRpmSystemEnvironmentMixin> create()
rpmback to summary
public Path rpm()
rpmbuildback to summary
public Path rpmbuild()
jdk.jpackage.internal back to summary

public final Class LinuxRpmSystemEnvironmentMixin.Internal

extends Object
Class Inheritance
  • java.lang.Object
  • jdk.jpackage.internal.LinuxRpmSystemEnvironmentMixin.Internal

Field Summary

Modifier and TypeField and Description
private static final Path
private static final Path
private static final DottedVersion

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static ToolValidator
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

TOOL_RPMback to summary
private static final Path TOOL_RPM
TOOL_RPMBUILDback to summary
private static final Path TOOL_RPMBUILD
TOOL_RPMBUILD_MIN_VERSIONback to summary
private static final DottedVersion TOOL_RPMBUILD_MIN_VERSION

Constructor Detail

Internalback to summary
public Internal()

Method Detail

createRpmbuildToolValidatorback to summary
private static ToolValidator createRpmbuildToolValidator()
jdk.jpackage.internal back to summary

public final Record LinuxRpmSystemEnvironmentMixin.Stub

extends Record
implements LinuxRpmSystemEnvironmentMixin
Class Inheritance
All Implemented Interfaces
jdk.jpackage.internal.LinuxRpmSystemEnvironmentMixin
Record Components
rpm:Path 
rpmbuild:Path 

Field Summary

Modifier and TypeField and Description
private final Path
rpm

Record Component accessed by rpm().

private final Path
rpmbuild

Record Component accessed by rpmbuild().

Constructor Summary

AccessConstructor and Description
public
Stub(Path rpm, Path rpmbuild)

Method Summary

Modifier and TypeMethod and Description
public final boolean
equals(Object o)

Implements abstract java.lang.Record.equals.

Indicates whether some other object is "equal to" this one.

public final int
hashCode()

Implements abstract java.lang.Record.hashCode.

Returns a hash code value for the record.

public Path
rpm()

Record Component getter of rpm.

Implements jdk.jpackage.internal.LinuxRpmSystemEnvironmentMixin.rpm.

public Path
public final String
toString()

Implements abstract java.lang.Record.toString.

Returns a string representation of the record.

Field Detail

rpmback to summary
private final Path rpm

Record Component accessed by rpm().

rpmbuildback to summary
private final Path rpmbuild

Record Component accessed by rpmbuild().

Constructor Detail

Stubback to summary
public Stub(Path rpm, Path rpmbuild)

Method Detail

equalsback to summary
public final boolean equals(Object o)

Implements abstract java.lang.Record.equals.

Doc from java.lang.Record.equals.

Indicates whether some other object is "equal to" this one. In addition to the general contract of Object.equals, record classes must further obey the invariant that when a record instance is "copied" by passing the result of the record component accessor methods to the canonical constructor, as follows:

    R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
hashCodeback to summary
public final int hashCode()

Implements abstract java.lang.Record.hashCode.

Doc from java.lang.Record.hashCode.

Returns a hash code value for the record. Obeys the general contract of Object.hashCode. For records, hashing behavior is constrained by the refined contract of Record.equals, so that any two records created from the same components must have the same hash code.

rpmback to summary
public Path rpm()

Record Component getter of rpm.

Implements jdk.jpackage.internal.LinuxRpmSystemEnvironmentMixin.rpm.

rpmbuildback to summary
public Path rpmbuild()

Record Component getter of rpmbuild.

Implements jdk.jpackage.internal.LinuxRpmSystemEnvironmentMixin.rpmbuild.

toStringback to summary
public final String toString()

Implements abstract java.lang.Record.toString.

Doc from java.lang.Record.toString.

Returns a string representation of the record. In accordance with the general contract of Object#toString(), the toString method returns a string that "textually represents" this record. The result should be a concise but informative representation that is easy for a person to read.

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.