public class EnforcerViolation extends Object implements Comparable<EnforcerViolation>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnforcerViolation.Writer |
| Constructor and Description |
|---|
EnforcerViolation(EnforcerViolationType violationType,
String file) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EnforcerViolation o) |
boolean |
equals(Object obj) |
String |
getFile() |
String |
getFormattedViolation() |
List<String> |
getStackTrace() |
String |
getType() |
EnforcerViolationType |
getViolationType() |
int |
hashCode() |
static EnforcerViolation.Writer |
newWriter(Path outputFile) |
static List<EnforcerViolation> |
readFrom(Path outputFile) |
String |
toString() |
public EnforcerViolation(EnforcerViolationType violationType, String file)
public EnforcerViolationType getViolationType()
public String getFile()
public String getType()
public String getFormattedViolation()
public int compareTo(EnforcerViolation o)
compareTo in interface Comparable<EnforcerViolation>public static EnforcerViolation.Writer newWriter(Path outputFile) throws IOException
IOExceptionpublic static List<EnforcerViolation> readFrom(Path outputFile) throws IOException
IOExceptionCopyright © 2017. All rights reserved.