org.apache.commons.jci.problems
Interface CompilationProblem

All Known Implementing Classes:
EclipseCompilationProblem, GroovyCompilationProblem, JaninoCompilationProblem, JavacCompilationProblem, RhinoCompilationProblem

public interface CompilationProblem

An abstract definition of a compilation problem

Author:
tcurdt

Method Summary
 int getEndColumn()
           
 int getEndLine()
          position of where the problem stops in the source code
 String getFileName()
          name of the file where the problem occurred
 String getMessage()
          the description of the problem
 int getStartColumn()
           
 int getStartLine()
          position of where the problem starts in the source code
 boolean isError()
          is the problem an error and compilation cannot continue or just a warning and compilation can proceed
 

Method Detail

isError

boolean isError()
is the problem an error and compilation cannot continue or just a warning and compilation can proceed

Returns:

getFileName

String getFileName()
name of the file where the problem occurred

Returns:

getStartLine

int getStartLine()
position of where the problem starts in the source code

Returns:

getStartColumn

int getStartColumn()

getEndLine

int getEndLine()
position of where the problem stops in the source code

Returns:

getEndColumn

int getEndColumn()

getMessage

String getMessage()
the description of the problem

Returns:


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.