Record Class MudlibBootResult

java.lang.Object
java.lang.Record
io.github.protasm.jvmud.execution.instance.MudlibBootResult

public record MudlibBootResult(WorldRuntime worldRuntime, MudlibBoundary mudlibBoundary, List<String> preloadedObjects, List<String> skippedPreloads, List<String> preloadManifestPreloadedObjects, List<String> preloadManifestSkippedPreloads, String initialPlacePath) extends Record
Immutable result of booting one explicitly configured mudlib into a native world runtime.
  • Constructor Details

    • MudlibBootResult

      public MudlibBootResult(WorldRuntime worldRuntime, MudlibBoundary mudlibBoundary, List<String> preloadedObjects, List<String> skippedPreloads, List<String> preloadManifestPreloadedObjects, List<String> preloadManifestSkippedPreloads, String initialPlacePath)
      Creates an instance of a MudlibBootResult record class.
      Parameters:
      worldRuntime - the value for the worldRuntime record component
      mudlibBoundary - the value for the mudlibBoundary record component
      preloadedObjects - the value for the preloadedObjects record component
      skippedPreloads - the value for the skippedPreloads record component
      preloadManifestPreloadedObjects - the value for the preloadManifestPreloadedObjects record component
      preloadManifestSkippedPreloads - the value for the preloadManifestSkippedPreloads record component
      initialPlacePath - the value for the initialPlacePath 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.
    • worldRuntime

      public WorldRuntime worldRuntime()
      Returns the value of the worldRuntime record component.
      Returns:
      the value of the worldRuntime record component
    • mudlibBoundary

      public MudlibBoundary mudlibBoundary()
      Returns the value of the mudlibBoundary record component.
      Returns:
      the value of the mudlibBoundary record component
    • preloadedObjects

      public List<String> preloadedObjects()
      Returns the value of the preloadedObjects record component.
      Returns:
      the value of the preloadedObjects record component
    • skippedPreloads

      public List<String> skippedPreloads()
      Returns the value of the skippedPreloads record component.
      Returns:
      the value of the skippedPreloads record component
    • preloadManifestPreloadedObjects

      public List<String> preloadManifestPreloadedObjects()
      Returns the value of the preloadManifestPreloadedObjects record component.
      Returns:
      the value of the preloadManifestPreloadedObjects record component
    • preloadManifestSkippedPreloads

      public List<String> preloadManifestSkippedPreloads()
      Returns the value of the preloadManifestSkippedPreloads record component.
      Returns:
      the value of the preloadManifestSkippedPreloads record component
    • initialPlacePath

      public String initialPlacePath()
      Returns the value of the initialPlacePath record component.
      Returns:
      the value of the initialPlacePath record component