Class AbstractAmendment
java.lang.Object
com.atlassian.jira.appconsistency.integrity.check.AbstractAmendment
- All Implemented Interfaces:
Amendment,Serializable
- Direct Known Subclasses:
CheckAmendment,DeleteEntityAmendment
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.jira.appconsistency.integrity.amendment.Amendment
CORRECTION, ERROR, UNFIXABLE_ERROR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAmendment(int type, String bugId, String message) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBugId()protected intgetType()inthashCode()booleanbooleanisError()protected booleanisValidType(int type) booleanprotected voidprotected voidsetMessage(String message) protected voidsetType(int type) toString()
-
Constructor Details
-
AbstractAmendment
-
-
Method Details
-
isCorrection
public boolean isCorrection()- Specified by:
isCorrectionin interfaceAmendment
-
isWarning
public boolean isWarning() -
isError
public boolean isError() -
getType
protected int getType() -
setType
protected void setType(int type) -
isValidType
protected boolean isValidType(int type) -
getMessage
- Specified by:
getMessagein interfaceAmendment
-
setMessage
-
getBugId
-
setBugId
-
equals
-
hashCode
public int hashCode() -
toString
-