Record Class NativeLibrarySpec
java.lang.Object
java.lang.Record
dev.engine.core.native_.NativeLibrarySpec
public record NativeLibrarySpec(String name, String version, List<String> executables, List<String> libraries, Map<String,String> downloadUrls, String classpathPrefix)
extends Record
Describes a native library/tool to be loaded: name, version, executables,
shared libraries, and optional download URLs per platform.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NativeLibrarySpec.BuilderReturns the value of theclasspathPrefixrecord component.Returns the value of thedownloadUrlsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutablesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelibrariesrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
NativeLibrarySpec
public NativeLibrarySpec(String name, String version, List<String> executables, List<String> libraries, Map<String, String> downloadUrls, String classpathPrefix) Creates an instance of aNativeLibrarySpecrecord class.- Parameters:
name- the value for thenamerecord componentversion- the value for theversionrecord componentexecutables- the value for theexecutablesrecord componentlibraries- the value for thelibrariesrecord componentdownloadUrls- the value for thedownloadUrlsrecord componentclasspathPrefix- the value for theclasspathPrefixrecord component
-
-
Method Details
-
builder
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
executables
-
libraries
-
downloadUrls
-
classpathPrefix
Returns the value of theclasspathPrefixrecord component.- Returns:
- the value of the
classpathPrefixrecord component
-