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, usesTypeResolutionpublic java.lang.String getOverriddenName()
public void setName(java.lang.String name)
RulesetName in interface RulesetName in class AbstractDelegateRulepublic java.util.Properties getOverriddenProperties()
public void addProperty(java.lang.String name,
java.lang.String property)
RuleaddProperty in interface RuleaddProperty in class AbstractDelegateRulepublic void addProperties(java.util.Properties properties)
RuleaddProperties in interface RuleaddProperties in class AbstractDelegateRulepublic java.lang.String getOverriddenMessage()
public void setMessage(java.lang.String message)
RulesetMessage in interface RulesetMessage in class AbstractDelegateRulepublic java.lang.String getOverriddenDescription()
public void setDescription(java.lang.String description)
RulesetDescription in interface RulesetDescription in class AbstractDelegateRulepublic java.util.List<java.lang.String> getOverriddenExamples()
public void addExample(java.lang.String example)
RuleaddExample in interface RuleaddExample in class AbstractDelegateRulepublic java.lang.String getOverriddenExternalInfoUrl()
public void setExternalInfoUrl(java.lang.String externalInfoUrl)
RulesetExternalInfoUrl in interface RulesetExternalInfoUrl in class AbstractDelegateRulepublic java.lang.Integer getOverriddenPriority()
public void setPriority(int priority)
RulesetPriority in interface RulesetPriority in class AbstractDelegateRulepublic RuleSetReference getRuleSetReference()
public void setRuleSetReference(RuleSetReference ruleSetReference)