Record Class ReleaseNotesSupport.TestingContext
java.lang.Object
java.lang.Record
network.ike.plugin.ReleaseNotesSupport.TestingContext
- Record Components:
milestone- the milestone titlereadyToTest- closed issues — completed work available in this buildinProgress- open issues — work actively changing
- Enclosing class:
ReleaseNotesSupport
public static record ReleaseNotesSupport.TestingContext(String milestone, List<ReleaseNotesSupport.Issue> readyToTest, List<ReleaseNotesSupport.Issue> inProgress)
extends Record
A snapshot of milestone state for checkpoint testing context.
-
Constructor Summary
ConstructorsConstructorDescriptionTestingContext(String milestone, List<ReleaseNotesSupport.Issue> readyToTest, List<ReleaseNotesSupport.Issue> inProgress) Creates an instance of aTestingContextrecord 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.Returns the value of theinProgressrecord component.Returns the value of themilestonerecord component.Returns the value of thereadyToTestrecord component.Format as markdown for inclusion in checkpoint output.final StringtoString()Returns a string representation of this record class.Format as YAML for embedding in checkpoint YAML files.
-
Constructor Details
-
TestingContext
public TestingContext(String milestone, List<ReleaseNotesSupport.Issue> readyToTest, List<ReleaseNotesSupport.Issue> inProgress) Creates an instance of aTestingContextrecord class.- Parameters:
milestone- the value for themilestonerecord componentreadyToTest- the value for thereadyToTestrecord componentinProgress- the value for theinProgressrecord component
-
-
Method Details
-
toMarkdown
Format as markdown for inclusion in checkpoint output.- Returns:
- markdown-formatted testing context
-
toYaml
-
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). -
milestone
-
readyToTest
Returns the value of thereadyToTestrecord component.- Returns:
- the value of the
readyToTestrecord component
-
inProgress
Returns the value of theinProgressrecord component.- Returns:
- the value of the
inProgressrecord component
-