Record Class ReleaseStatusInspector.Finding

java.lang.Object
java.lang.Record
network.ike.plugin.ws.ReleaseStatusInspector.Finding
Record Components:
subprojectName - the subproject name
status - classification verdict
currentVersion - the <version> from POM
currentBranch - the checked-out branch
inFlightReleaseBranches - release/* branches still present locally
localOnlyTags - local v* tags not yet on origin
details - ordered diagnostic lines describing the inputs that led to status
Enclosing class:
ReleaseStatusInspector

public static record ReleaseStatusInspector.Finding(String subprojectName, ReleaseStatusInspector.Status status, String currentVersion, String currentBranch, List<String> inFlightReleaseBranches, List<String> localOnlyTags, List<String> details) extends Record
Classification result for a single subproject. The details() list captures the raw signals that led to the chosen status(), suitable for direct rendering as indented bullet lines in the goal output.
  • Constructor Details

  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • subprojectName

      public String subprojectName()
      Returns the value of the subprojectName record component.
      Returns:
      the value of the subprojectName record component
    • status

      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • currentVersion

      public String currentVersion()
      Returns the value of the currentVersion record component.
      Returns:
      the value of the currentVersion record component
    • currentBranch

      public String currentBranch()
      Returns the value of the currentBranch record component.
      Returns:
      the value of the currentBranch record component
    • inFlightReleaseBranches

      public List<String> inFlightReleaseBranches()
      Returns the value of the inFlightReleaseBranches record component.
      Returns:
      the value of the inFlightReleaseBranches record component
    • localOnlyTags

      public List<String> localOnlyTags()
      Returns the value of the localOnlyTags record component.
      Returns:
      the value of the localOnlyTags record component
    • details

      public List<String> details()
      Returns the value of the details record component.
      Returns:
      the value of the details record component