Class CompilerMessageImpl
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.compiler.CompilerMessageImpl
-
- All Implemented Interfaces:
CompilerMessage
public class CompilerMessageImpl extends Object implements CompilerMessage
-
-
Constructor Summary
Constructors Constructor Description CompilerMessageImpl(String scriptName, String message, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumn()Returns the column number of the script text that generated this message.intgetLine()Returns the line number of the script text that generated this message.StringgetMessage()Returns the compiler's message.StringgetScriptName()Returns the script name associated with this message.
-
-
-
Method Detail
-
getScriptName
public String getScriptName()
Description copied from interface:CompilerMessageReturns the script name associated with this message.- Specified by:
getScriptNamein interfaceCompilerMessage- Returns:
- the script name associated with this message
-
getMessage
public String getMessage()
Description copied from interface:CompilerMessageReturns the compiler's message.- Specified by:
getMessagein interfaceCompilerMessage- Returns:
- the compiler's message
-
getLine
public int getLine()
Description copied from interface:CompilerMessageReturns the line number of the script text that generated this message.- Specified by:
getLinein interfaceCompilerMessage- Returns:
- the line number of the script text that generated this message
-
getColumn
public int getColumn()
Description copied from interface:CompilerMessageReturns the column number of the script text that generated this message.- Specified by:
getColumnin interfaceCompilerMessage- Returns:
- the column number of the script text that generated this message
-
-