public abstract class BaseRuleCategory extends java.lang.Object implements RuleCategory
Constructor and Description |
---|
BaseRuleCategory() |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
deActivate() |
java.lang.String |
getCategoryKey()
Returns the key that identifies the category of the rule.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the rule category description.
|
java.lang.String |
getIcon()
Returns the Font Awesome CSS class for the rule catetory's icon.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the rule category's name.
|
public void activate()
activate
in interface RuleCategory
public void deActivate()
deActivate
in interface RuleCategory
public java.lang.String getCategoryKey()
RuleCategory
getCategoryKey
in interface RuleCategory
public java.lang.String getDescription(java.util.Locale locale)
RuleCategory
getDescription
in interface RuleCategory
locale
- the language's localepublic java.lang.String getIcon()
RuleCategory
getIcon
in interface RuleCategory
public java.lang.String getName(java.util.Locale locale)
RuleCategory
getName
in interface RuleCategory
locale
- the language's locale