hudson.plugins.checkstyle.parser
Class Error

java.lang.Object
  extended by hudson.plugins.checkstyle.parser.Error

public class Error
extends java.lang.Object

Java Bean class for a violation of the Checkstyle format.

Author:
Ulli Hafner

Constructor Summary
Error()
           
 
Method Summary
 int getLine()
          Returns the line.
 java.lang.String getMessage()
          Returns the message.
 java.lang.String getSeverity()
          Returns the severity.
 java.lang.String getSource()
          Returns the source.
 void setLine(int line)
          Sets the line to the specified value.
 void setMessage(java.lang.String message)
          Sets the message to the specified value.
 void setSeverity(java.lang.String severity)
          Sets the severity to the specified value.
 void setSource(java.lang.String source)
          Sets the source to the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Error

public Error()
Method Detail

getSource

public java.lang.String getSource()
Returns the source.

Returns:
the source

setSource

public void setSource(java.lang.String source)
Sets the source to the specified value.

Parameters:
source - the value to set

getSeverity

public java.lang.String getSeverity()
Returns the severity.

Returns:
the severity

setSeverity

public void setSeverity(java.lang.String severity)
Sets the severity to the specified value.

Parameters:
severity - the value to set

getMessage

public java.lang.String getMessage()
Returns the message.

Returns:
the message

setMessage

public void setMessage(java.lang.String message)
Sets the message to the specified value.

Parameters:
message - the value to set

getLine

public int getLine()
Returns the line.

Returns:
the line

setLine

public void setLine(int line)
Sets the line to the specified value.

Parameters:
line - the value to set


Copyright © 2004-2011. All Rights Reserved.