public class BuildIssue extends java.lang.Object implements java.lang.Comparable<BuildIssue>
Modifier and Type | Class and Description |
---|---|
static class |
BuildIssue.Kind |
Constructor and Description |
---|
BuildIssue() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BuildIssue aBI)
Standard compareTo implementation.
|
int |
getColumn()
Returns the column index.
|
int |
getEnd()
Returns the end char index.
|
WebFile |
getFile()
Returns the file.
|
BuildIssue.Kind |
getKind()
Returns the kind.
|
int |
getLine()
Returns the line index.
|
int |
getLineNumber()
Returns the line number (convenience).
|
int |
getStart()
Returns the start char index.
|
java.lang.String |
getText()
Returns the error text.
|
BuildIssue |
init(WebFile aFile,
BuildIssue.Kind aKind,
java.lang.String theText,
int aLine,
int aColumn,
int aStart,
int anEnd)
Creates a new error.
|
boolean |
isError()
Returns whether issue is error.
|
void |
setEnd(int anEnd)
Returns the end char index.
|
void |
setStart(int aStart)
Sets the start char index.
|
java.lang.String |
toString()
Standard toString implementation.
|
public BuildIssue init(WebFile aFile, BuildIssue.Kind aKind, java.lang.String theText, int aLine, int aColumn, int aStart, int anEnd)
public WebFile getFile()
public BuildIssue.Kind getKind()
public boolean isError()
public java.lang.String getText()
public int getLine()
public int getColumn()
public int getStart()
public void setStart(int aStart)
public int getEnd()
public void setEnd(int anEnd)
public int getLineNumber()
public int compareTo(BuildIssue aBI)
compareTo
in interface java.lang.Comparable<BuildIssue>
public java.lang.String toString()
toString
in class java.lang.Object