Class AbstractAmendment

java.lang.Object
com.atlassian.jira.appconsistency.integrity.check.AbstractAmendment
All Implemented Interfaces:
Amendment, Serializable
Direct Known Subclasses:
CheckAmendment, CreateEntityAmendment, DeleteEntityAmendment

public abstract class AbstractAmendment extends Object implements Amendment
See Also:
  • Constructor Details

    • AbstractAmendment

      protected AbstractAmendment(int type, String bugId, String message)
  • Method Details

    • isCorrection

      public boolean isCorrection()
      Specified by:
      isCorrection in interface Amendment
    • isWarning

      public boolean isWarning()
      Specified by:
      isWarning in interface Amendment
    • isError

      public boolean isError()
      Specified by:
      isError in interface Amendment
    • getType

      protected int getType()
    • setType

      protected void setType(int type)
    • isValidType

      protected boolean isValidType(int type)
    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface Amendment
    • setMessage

      protected void setMessage(String message)
    • getBugId

      public String getBugId()
      Specified by:
      getBugId in interface Amendment
    • setBugId

      protected void setBugId(String bugId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object