org.sonar.plugins.core.violationssourceviewer.client.model
Class Violation

java.lang.Object
  extended by org.sonar.plugins.core.violationssourceviewer.client.model.Violation

public class Violation
extends java.lang.Object


Nested Class Summary
static class Violation.LevelType
           
 
Constructor Summary
Violation(java.lang.String message, java.lang.String rule, java.lang.String category, java.lang.String level)
           
 
Method Summary
 java.lang.String getCategory()
           
 Violation.LevelType getLevel()
           
 java.lang.String getMessage()
           
 java.lang.String getRule()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Violation

public Violation(java.lang.String message,
                 java.lang.String rule,
                 java.lang.String category,
                 java.lang.String level)
Method Detail

getMessage

public java.lang.String getMessage()

getRule

public java.lang.String getRule()

getCategory

public java.lang.String getCategory()

getLevel

public Violation.LevelType getLevel()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 SonarSource SA. All Rights Reserved.