Record Class SubprojectInitializer.Result

java.lang.Object
java.lang.Record
network.ike.plugin.ws.bootstrap.SubprojectInitializer.Result
Enclosing class:
SubprojectInitializer

public static record SubprojectInitializer.Result(int cloned, int syncthing, int updated, int skipped, int wrappers, int alreadyClean, List<String[]> rows) extends Record
Outcome counters for one initialization pass.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Result(int cloned, int syncthing, int updated, int skipped, int wrappers, int alreadyClean, List<String[]> rows)
    Creates an instance of a Result record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the alreadyClean record component.
    int
    Returns the value of the cloned record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    boolean
    True when every declared subproject was already a healthy clone.
    Returns the value of the rows record component.
    int
    Returns the value of the skipped record component.
    int
    Returns the value of the syncthing record component.
    final String
    Returns a string representation of this record class.
    int
    Returns the value of the updated record component.
    int
    Returns the value of the wrappers record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Result

      public Result(int cloned, int syncthing, int updated, int skipped, int wrappers, int alreadyClean, List<String[]> rows)
      Creates an instance of a Result record class.
      Parameters:
      cloned - the value for the cloned record component
      syncthing - the value for the syncthing record component
      updated - the value for the updated record component
      skipped - the value for the skipped record component
      wrappers - the value for the wrappers record component
      alreadyClean - the value for the alreadyClean record component
      rows - the value for the rows record component
  • Method Details

    • nothingChanged

      public boolean nothingChanged()
      True when every declared subproject was already a healthy clone.
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • cloned

      public int cloned()
      Returns the value of the cloned record component.
      Returns:
      the value of the cloned record component
    • syncthing

      public int syncthing()
      Returns the value of the syncthing record component.
      Returns:
      the value of the syncthing record component
    • updated

      public int updated()
      Returns the value of the updated record component.
      Returns:
      the value of the updated record component
    • skipped

      public int skipped()
      Returns the value of the skipped record component.
      Returns:
      the value of the skipped record component
    • wrappers

      public int wrappers()
      Returns the value of the wrappers record component.
      Returns:
      the value of the wrappers record component
    • alreadyClean

      public int alreadyClean()
      Returns the value of the alreadyClean record component.
      Returns:
      the value of the alreadyClean record component
    • rows

      public List<String[]> rows()
      Returns the value of the rows record component.
      Returns:
      the value of the rows record component