Class TechDebt


  • public final class TechDebt
    extends java.lang.Object
    • Constructor Detail

      • TechDebt

        public TechDebt​(java.lang.String description,
                        java.lang.String notes,
                        Priority priority,
                        java.util.List<Link> links)
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
      • getNotes

        public java.lang.String getNotes()
      • getPriority

        public Priority getPriority()
      • getLinks

        public java.util.List<@Valid Link> getLinks()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withDescription

        public TechDebt withDescription​(java.lang.String description)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withNotes

        public TechDebt withNotes​(java.lang.String notes)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPriority

        public TechDebt withPriority​(Priority priority)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withLinks

        public TechDebt withLinks​(java.util.List<@Valid Link> links)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).