org.sonar.api.checks.profiles
Class Check

java.lang.Object
  extended by org.sonar.api.checks.profiles.Check

public class Check
extends java.lang.Object

EXPERIMENTAL - will be used in version 2.2


Constructor Summary
Check()
           
Check(java.lang.String repositoryKey, java.lang.String templateKey)
           
 
Method Summary
 void addProperties(java.util.Map<java.lang.String,java.lang.String> properties)
           
 void addProperty(java.lang.String key, java.lang.Object value)
           
 boolean equals(java.lang.Object o)
           
 Priority getPriority()
           
 java.util.Map<java.lang.String,java.lang.String> getProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getRepositoryKey()
           
 java.lang.String getTemplateKey()
           
 int hashCode()
           
 void setPriority(Priority priority)
           
 void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
           
 void setRepositoryKey(java.lang.String repositoryKey)
           
 void setTemplateKey(java.lang.String templateKey)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Check

public Check()

Check

public Check(java.lang.String repositoryKey,
             java.lang.String templateKey)
Method Detail

getTemplateKey

public java.lang.String getTemplateKey()

getRepositoryKey

public java.lang.String getRepositoryKey()

setRepositoryKey

public void setRepositoryKey(java.lang.String repositoryKey)

setTemplateKey

public void setTemplateKey(java.lang.String templateKey)

getPriority

public Priority getPriority()

setPriority

public void setPriority(Priority priority)

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()

getProperty

public java.lang.String getProperty(java.lang.String key)

addProperty

public void addProperty(java.lang.String key,
                        java.lang.Object value)

addProperties

public void addProperties(java.util.Map<java.lang.String,java.lang.String> properties)

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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


Copyright © 2009-2010 SonarSource. All Rights Reserved.