Class Warning
- java.lang.Object
-
- de.skuzzle.enforcer.restrictimports.analyze.Warning
-
public final class Warning extends Object
Represents an additional warning that might be reported and shall be displayed to the end user.Presence of a Waning alone on a MatchedFile usually doesn't fail the build as long as no banned imports were detected.
- Since:
- 2.2.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetMessage()inthashCode()StringtoString()static WarningwithMessage(String message)
-
-
-
Method Detail
-
getMessage
public String getMessage()
-
-