Class BuildIssue
- java.lang.Object
- 
- com.inductiveautomation.snap.project.BuildIssue
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<BuildIssue>
 
 public class BuildIssue extends java.lang.Object implements java.lang.Comparable<BuildIssue> This class represents a build error (or warning) for a file.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBuildIssue.Kind
 - 
Constructor SummaryConstructors Constructor Description BuildIssue()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(BuildIssue aBI)Standard compareTo implementation.intgetColumn()Returns the column index.intgetEnd()Returns the end char index.WebFilegetFile()Returns the file.BuildIssue.KindgetKind()Returns the kind.intgetLine()Returns the line index.intgetLineNumber()Returns the line number (convenience).intgetStart()Returns the start char index.java.lang.StringgetText()Returns the error text.BuildIssueinit(WebFile aFile, BuildIssue.Kind aKind, java.lang.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.java.lang.StringtoString()Standard toString implementation.
 
- 
- 
- 
Method Detail- 
initpublic BuildIssue init(WebFile aFile, BuildIssue.Kind aKind, java.lang.String theText, int aLine, int aColumn, int aStart, int anEnd) Creates a new error.
 - 
getFilepublic WebFile getFile() Returns the file.
 - 
getKindpublic BuildIssue.Kind getKind() Returns the kind.
 - 
isErrorpublic boolean isError() Returns whether issue is error.
 - 
getTextpublic java.lang.String getText() Returns 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).
 - 
compareTopublic int compareTo(BuildIssue aBI) Standard compareTo implementation.- Specified by:
- compareToin interface- java.lang.Comparable<BuildIssue>
 
 - 
toStringpublic java.lang.String toString() Standard toString implementation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-