Record Class CompiledBundle
java.lang.Object
java.lang.Record
de.luckymcdev.foundryengine.script.common.runtime.CompiledBundle
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledBundle(groovy.lang.GroovyClassLoader loader, Map<String, Class<?>> classes, List<ScriptFailure> failures) Creates an instance of aCompiledBundlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionclasses()Returns the value of theclassesrecord component.voidclose()final booleanIndicates whether some other object is "equal to" this one.failures()Returns the value of thefailuresrecord component.final inthashCode()Returns a hash code value for this object.groovy.lang.GroovyClassLoaderloader()Returns the value of theloaderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompiledBundle
public CompiledBundle(groovy.lang.GroovyClassLoader loader, Map<String, Class<?>> classes, List<ScriptFailure> failures) Creates an instance of aCompiledBundlerecord class.- Parameters:
loader- the value for theloaderrecord componentclasses- the value for theclassesrecord componentfailures- the value for thefailuresrecord component
-
-
Method Details
-
close
public void close() -
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). -
loader
public groovy.lang.GroovyClassLoader loader()Returns the value of theloaderrecord component.- Returns:
- the value of the
loaderrecord component
-
classes
-
failures
Returns the value of thefailuresrecord component.- Returns:
- the value of the
failuresrecord component
-