Class BuildIssue
java.lang.Object
com.inductiveautomation.snap.project.BuildIssue
- All Implemented Interfaces:
- Comparable<BuildIssue>
This class represents a build error (or warning) for a file.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(BuildIssue aBI) Standard compareTo implementation.intReturns the column index.intgetEnd()Returns the end char index.getFile()Returns the file.getKind()Returns the kind.intgetLine()Returns the line index.intReturns the line number (convenience).intgetStart()Returns the start char index.getText()Returns the error text.init(WebFile aFile, BuildIssue.Kind aKind, String theText, int aLine, int aColumn, int aStart, int anEnd) Creates a new error.booleanisError()Returns whether issue is error.voidsetEnd(int anEnd) Returns the end char index.voidsetStart(int aStart) Sets the start char index.toString()Standard toString implementation.
- 
Constructor Details- 
BuildIssuepublic BuildIssue()
 
- 
- 
Method Details- 
initpublic BuildIssue init(WebFile aFile, BuildIssue.Kind aKind, String theText, int aLine, int aColumn, int aStart, int anEnd) Creates a new error.
- 
getFileReturns the file.
- 
getKindReturns the kind.
- 
isErrorpublic boolean isError()Returns whether issue is error.
- 
getTextReturns the error text.
- 
getLinepublic int getLine()Returns the line index.
- 
getColumnpublic int getColumn()Returns the column index.
- 
getStartpublic int getStart()Returns the start char index.
- 
setStartpublic void setStart(int aStart) Sets the start char index.
- 
getEndpublic int getEnd()Returns the end char index.
- 
setEndpublic void setEnd(int anEnd) Returns the end char index.
- 
getLineNumberpublic int getLineNumber()Returns the line number (convenience).
- 
compareToStandard compareTo implementation.- Specified by:
- compareToin interface- Comparable<BuildIssue>
 
- 
toStringStandard toString implementation.
 
-