Record Class ApplicationLayoutMixin.Stub

java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.ApplicationLayoutMixin.Stub
All Implemented Interfaces:
ApplicationLayoutMixin
Enclosing interface:
ApplicationLayoutMixin

public static record ApplicationLayoutMixin.Stub(Path launchersDirectory, Path appDirectory, Path appModsDirectory, Path destktopIntegrationDirectory, Path contentDirectory) extends Record implements ApplicationLayoutMixin
Default implementation of ApplicationLayoutMixin interface.
  • Constructor Details

    • Stub

      public Stub(Path launchersDirectory, Path appDirectory, Path appModsDirectory, Path destktopIntegrationDirectory, Path contentDirectory)
      Creates an instance of a Stub record class.
      Parameters:
      launchersDirectory - the value for the launchersDirectory record component
      appDirectory - the value for the appDirectory record component
      appModsDirectory - the value for the appModsDirectory record component
      destktopIntegrationDirectory - the value for the destktopIntegrationDirectory record component
      contentDirectory - the value for the contentDirectory record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • launchersDirectory

      public Path launchersDirectory()
      Returns the value of the launchersDirectory record component.
      Specified by:
      launchersDirectory in interface ApplicationLayoutMixin
      Returns:
      the value of the launchersDirectory record component
    • appDirectory

      public Path appDirectory()
      Returns the value of the appDirectory record component.
      Specified by:
      appDirectory in interface ApplicationLayoutMixin
      Returns:
      the value of the appDirectory record component
    • appModsDirectory

      public Path appModsDirectory()
      Returns the value of the appModsDirectory record component.
      Specified by:
      appModsDirectory in interface ApplicationLayoutMixin
      Returns:
      the value of the appModsDirectory record component
    • destktopIntegrationDirectory

      public Path destktopIntegrationDirectory()
      Returns the value of the destktopIntegrationDirectory record component.
      Specified by:
      destktopIntegrationDirectory in interface ApplicationLayoutMixin
      Returns:
      the value of the destktopIntegrationDirectory record component
    • contentDirectory

      public Path contentDirectory()
      Returns the value of the contentDirectory record component.
      Specified by:
      contentDirectory in interface ApplicationLayoutMixin
      Returns:
      the value of the contentDirectory record component