ro.isdc.wro.extensions.processor.support.linter
Class LinterError

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.support.linter.LinterError
All Implemented Interfaces:
Serializable

public class LinterError
extends Object
implements Serializable

Encapsulates an error reported by JsHint.

Since:
1.3.5
Author:
Alex Objelean
See Also:
Serialized Form

Constructor Summary
LinterError()
           
 
Method Summary
 int getCharacter()
           
 String getEvidence()
           
 int getLine()
           
 String getReason()
           
 void setCharacter(int character)
           
 void setEvidence(String evidence)
           
 void setLine(int line)
           
 void setReason(String reason)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinterError

public LinterError()
Method Detail

getLine

public int getLine()
Returns:
the line

setLine

public void setLine(int line)
Parameters:
line - the line to set

getCharacter

public int getCharacter()
Returns:
the character

setCharacter

public void setCharacter(int character)
Parameters:
character - the character to set

getReason

public String getReason()
Returns:
the reason

setReason

public void setReason(String reason)
Parameters:
reason - the reason to set

getEvidence

public String getEvidence()
Returns:
the evidence

setEvidence

public void setEvidence(String evidence)
Parameters:
evidence - the evidence to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2008-2013. All Rights Reserved.