com.atlassian.jira.appconsistency.integrity.check
Class AbstractAmendment

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

public abstract class AbstractAmendment
extends java.lang.Object
implements Amendment


Field Summary
 
Fields inherited from interface com.atlassian.jira.appconsistency.integrity.Amendment
CORRECTION, ERROR, WARNING
 
Constructor Summary
protected AbstractAmendment(int type, java.lang.String bugId, java.lang.String message)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getBugId()
           
 java.lang.String getMessage()
           
protected  int getType()
           
 int hashCode()
           
 boolean isCorrection()
           
 boolean isError()
           
protected  boolean isValidType(int type)
           
 boolean isWarning()
           
protected  void setBugId(java.lang.String bugId)
           
protected  void setMessage(java.lang.String message)
           
protected  void setType(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAmendment

protected AbstractAmendment(int type,
                            java.lang.String bugId,
                            java.lang.String message)
Method Detail

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 java.lang.String getMessage()
Specified by:
getMessage in interface Amendment

setMessage

protected void setMessage(java.lang.String message)

getBugId

public java.lang.String getBugId()
Specified by:
getBugId in interface Amendment

setBugId

protected void setBugId(java.lang.String bugId)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

toString

public java.lang.String toString()