Record Class SBOMGenerator.Config
java.lang.Object
java.lang.Record
org.graalvm.buildtools.maven.sbom.SBOMGenerator.Config
- Enclosing class:
- SBOMGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuildArgs
record component.final boolean
Indicates whether some other object is "equal to" this one.int
Returns the value of thegraalvmVersion
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisOracleGraalVM
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Config
Creates an instance of aConfig
record class.- Parameters:
isOracleGraalVM
- the value for theisOracleGraalVM
record componentbuildArgs
- the value for thebuildArgs
record componentgraalvmVersion
- the value for thegraalvmVersion
record component
-
-
Method Details
-
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. -
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. -
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
isOracleGraalVM
public boolean isOracleGraalVM()Returns the value of theisOracleGraalVM
record component.- Returns:
- the value of the
isOracleGraalVM
record component
-
buildArgs
Returns the value of thebuildArgs
record component.- Returns:
- the value of the
buildArgs
record component
-
graalvmVersion
public int graalvmVersion()Returns the value of thegraalvmVersion
record component.- Returns:
- the value of the
graalvmVersion
record component
-