Record Class ModelBuildInfo
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.internal.descriptor.ModelBuildInfo
- Record Components:
solverVersion- the version of the Timefold Solver used to build the modelsdkVersion- the version of the SDK; deprecated, usesolverVersion()insteadversion- the version of the modelbuildTime- the timestamp when the model was builtbranch- the source control branch from which the model was builtbuildCommit- the source control commit hash from which the model was built
-
Constructor Summary
ConstructorsConstructorDescriptionModelBuildInfo(String solverVersion, String version, String buildTime, String branch, String buildCommit) ModelBuildInfo(String solverVersion, String sdkVersion, String version, String buildTime, String branch, String buildCommit) Creates an instance of aModelBuildInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbranch()Returns the value of thebranchrecord component.Returns the value of thebuildCommitrecord component.Returns the value of thebuildTimerecord component.static ModelBuildInfoempty()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Deprecated, for removal: This API element is subject to removal in a future version.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, @Deprecated(forRemoval=true) 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
-
ModelBuildInfo
-
-
Method Details
-
empty
-
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
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thesdkVersionrecord component.- Returns:
- the value of the
sdkVersionrecord component
-
version
-
buildTime
-
branch
-
buildCommit
Returns the value of thebuildCommitrecord component.- Returns:
- the value of the
buildCommitrecord component
-