Record Class AssetLoadRequest

java.lang.Object
java.lang.Record
dev.relism.flash.ext.webbundler.AssetLoadRequest

public record AssetLoadRequest(String basePath, String indexFile, dev.relism.flash.ext.webbundler.RuntimeEnvironment environment, Path webRoot) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssetLoadRequest(String basePath, String indexFile, dev.relism.flash.ext.webbundler.RuntimeEnvironment environment, Path webRoot)
    Creates an instance of a AssetLoadRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the basePath record component.
    dev.relism.flash.ext.webbundler.RuntimeEnvironment
    Returns the value of the environment record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the indexFile record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the webRoot record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AssetLoadRequest

      public AssetLoadRequest(String basePath, String indexFile, dev.relism.flash.ext.webbundler.RuntimeEnvironment environment, Path webRoot)
      Creates an instance of a AssetLoadRequest record class.
      Parameters:
      basePath - the value for the basePath record component
      indexFile - the value for the indexFile record component
      environment - the value for the environment record component
      webRoot - the value for the webRoot 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.
    • basePath

      public String basePath()
      Returns the value of the basePath record component.
      Returns:
      the value of the basePath record component
    • indexFile

      public String indexFile()
      Returns the value of the indexFile record component.
      Returns:
      the value of the indexFile record component
    • environment

      public dev.relism.flash.ext.webbundler.RuntimeEnvironment environment()
      Returns the value of the environment record component.
      Returns:
      the value of the environment record component
    • webRoot

      public Path webRoot()
      Returns the value of the webRoot record component.
      Returns:
      the value of the webRoot record component