Record Class DocumentationDescriptor
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.internal.descriptor.DocumentationDescriptor
- Record Components:
support- the level of documentation support availablesource- an optional URL pointing to the documentation source
public record DocumentationDescriptor(DocumentationSupport support, Optional<URL> source)
extends Record
Describes the documentation support for a model.
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentationDescriptor(DocumentationSupport support, URL source) DocumentationDescriptor(DocumentationSupport support, Optional<URL> source) Creates an instance of aDocumentationDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static DocumentationDescriptornone()source()Returns the value of thesourcerecord component.support()Returns the value of thesupportrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
none
-
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). -
support
-
source
-