Class AbstractAmendment
java.lang.Object
com.atlassian.jira.appconsistency.integrity.check.AbstractAmendment
- All Implemented Interfaces:
Amendment
,Serializable
- Direct Known Subclasses:
CheckAmendment
,CreateEntityAmendment
,DeleteEntityAmendment
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.jira.appconsistency.integrity.amendment.Amendment
CORRECTION, ERROR, UNFIXABLE_ERROR
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractAmendment
(int type, String bugId, String message) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBugId()
protected int
getType()
int
hashCode()
boolean
boolean
isError()
protected boolean
isValidType
(int type) boolean
protected void
protected void
setMessage
(String message) protected void
setType
(int type) toString()
-
Constructor Details
-
AbstractAmendment
-
-
Method Details
-
isCorrection
public boolean isCorrection()- Specified by:
isCorrection
in 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:
getMessage
in interfaceAmendment
-
setMessage
-
getBugId
-
setBugId
-
equals
-
hashCode
public int hashCode() -
toString
-