|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCategory
public class Category
A rule's category. Categories are used to group rules for a better overview.
| Constructor Summary | |
|---|---|
Category(String name)
Create a new category with the default priority (50). |
|
Category(String name,
int priority)
Create a new category with the given name and priority. |
|
| Method Summary | |
|---|---|
String |
getName()
|
int |
getPriority()
|
boolean |
isDefaultOff()
Checks whether the category has been turned off by default by the category author. |
void |
setDefaultOff()
Turns the category by default off. |
String |
toString()
|
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Category(String name,
int priority)
name - name of the categorypriority - a value between 0 and 100 (inclusive)public Category(String name)
name - name of the category| Method Detail |
|---|
public String getName()
public int getPriority()
public String toString()
toString in class Objectpublic final boolean isDefaultOff()
public final void setDefaultOff()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||