Record Class ModelBuildInfo
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.internal.descriptor.ModelBuildInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranch()Returns the value of thebranchrecord component.Returns the value of thebuildCommitrecord component.Returns the value of thebuildTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesdkVersionrecord component.Returns the value of thesolverVersionrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ModelBuildInfo
public ModelBuildInfo(String solverVersion, String sdkVersion, String version, String buildTime, String branch, String buildCommit) Creates an instance of aModelBuildInforecord class.- Parameters:
solverVersion- the value for thesolverVersionrecord componentsdkVersion- the value for thesdkVersionrecord componentversion- the value for theversionrecord componentbuildTime- the value for thebuildTimerecord componentbranch- the value for thebranchrecord componentbuildCommit- the value for thebuildCommitrecord component
-
-
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). -
solverVersion
Returns the value of thesolverVersionrecord component.- Returns:
- the value of the
solverVersionrecord component
-
sdkVersion
Returns the value of thesdkVersionrecord component.- Returns:
- the value of the
sdkVersionrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
buildTime
Returns the value of thebuildTimerecord component.- Returns:
- the value of the
buildTimerecord component
-
branch
Returns the value of thebranchrecord component.- Returns:
- the value of the
branchrecord component
-
buildCommit
Returns the value of thebuildCommitrecord component.- Returns:
- the value of the
buildCommitrecord component
-