Record Class MudlibSpec
java.lang.Object
java.lang.Record
io.github.protasm.jvmud.execution.instance.MudlibSpec
-
Constructor Summary
ConstructorsConstructorDescriptionMudlibSpec(Path root, String configPath) Normalizes the root and requires a manifest within that root. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigPathrecord component.final booleanIndicates whether some other object is "equal to" this one.static MudlibSpecfromConfig(Path configFile) Resolves the conventional jvmud directory, or uses the manifest's parent as the root.final inthashCode()Returns a hash code value for this object.root()Returns the value of therootrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MudlibSpec
-
-
Method Details
-
fromConfig
Resolves the conventional jvmud directory, or uses the manifest's parent as the root. -
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
root
Returns the value of therootrecord component.- Returns:
- the value of the
rootrecord component
-
configPath
Returns the value of theconfigPathrecord component.- Returns:
- the value of the
configPathrecord component
-