public class RuleReference extends AbstractDelegateRule
LOWEST_PRIORITY, PRIORITIES
Constructor and Description |
---|
RuleReference() |
Modifier and Type | Method and Description |
---|---|
void |
addExample(java.lang.String example)
Add a single example for this Rule.
|
void |
addProperties(java.util.Properties properties)
Add a set of properties to this Rule.
|
void |
addProperty(java.lang.String name,
java.lang.String property)
Add a specific property to this Rule.
|
java.lang.String |
getOverriddenDescription() |
java.util.List<java.lang.String> |
getOverriddenExamples() |
java.lang.String |
getOverriddenExternalInfoUrl() |
java.lang.String |
getOverriddenMessage() |
java.lang.String |
getOverriddenName() |
java.lang.Integer |
getOverriddenPriority() |
java.util.Properties |
getOverriddenProperties() |
RuleSetReference |
getRuleSetReference() |
void |
setDescription(java.lang.String description)
Set the description of this Rule.
|
void |
setExternalInfoUrl(java.lang.String externalInfoUrl)
Set a URL for external information about this Rule.
|
void |
setMessage(java.lang.String message)
Set the message to show when this Rule identifies a violation.
|
void |
setName(java.lang.String name)
Set the name of this Rule.
|
void |
setPriority(int priority)
Set the priority of this Rule.
|
void |
setRuleSetReference(RuleSetReference ruleSetReference) |
addRuleChainVisit, apply, end, getBooleanProperty, getDescription, getDoubleProperty, getExample, getExamples, getExternalInfoUrl, getIntProperty, getMessage, getName, getPriority, getPriorityName, getProperties, getRule, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, getStringProperty, hasProperty, include, propertyDescriptorFor, setInclude, setRule, setRuleClass, setRuleSetName, setSince, setUsesDFA, setUsesTypeResolution, start, usesDFA, usesRuleChain, usesTypeResolution
public java.lang.String getOverriddenName()
public void setName(java.lang.String name)
Rule
setName
in interface Rule
setName
in class AbstractDelegateRule
public java.util.Properties getOverriddenProperties()
public void addProperty(java.lang.String name, java.lang.String property)
Rule
addProperty
in interface Rule
addProperty
in class AbstractDelegateRule
public void addProperties(java.util.Properties properties)
Rule
addProperties
in interface Rule
addProperties
in class AbstractDelegateRule
public java.lang.String getOverriddenMessage()
public void setMessage(java.lang.String message)
Rule
setMessage
in interface Rule
setMessage
in class AbstractDelegateRule
public java.lang.String getOverriddenDescription()
public void setDescription(java.lang.String description)
Rule
setDescription
in interface Rule
setDescription
in class AbstractDelegateRule
public java.util.List<java.lang.String> getOverriddenExamples()
public void addExample(java.lang.String example)
Rule
addExample
in interface Rule
addExample
in class AbstractDelegateRule
public java.lang.String getOverriddenExternalInfoUrl()
public void setExternalInfoUrl(java.lang.String externalInfoUrl)
Rule
setExternalInfoUrl
in interface Rule
setExternalInfoUrl
in class AbstractDelegateRule
public java.lang.Integer getOverriddenPriority()
public void setPriority(int priority)
Rule
setPriority
in interface Rule
setPriority
in class AbstractDelegateRule
public RuleSetReference getRuleSetReference()
public void setRuleSetReference(RuleSetReference ruleSetReference)