Record Class ScriptSource
java.lang.Object
java.lang.Record
de.luckymcdev.foundryengine.script.common.definition.ScriptSource
- Record Components:
className- the file name without extension, also the expected entrypoint class namepath- the real (symlink-resolved) path, guaranteed to be inside the bundle's script rootenv- the environment directory the file lives in
-
Constructor Summary
ConstructorsConstructorDescriptionScriptSource(String className, Path path, ScriptEnv env) Creates an instance of aScriptSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScriptSource
-
-
Method Details
-
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). -
className
-
path
-
env
-