|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.CategoryDirective
org.apache.avalon.composition.data.CategoriesDirective
Description of a set of categories.
CategoryDirective
,
Serialized FormField Summary |
Fields inherited from class org.apache.avalon.composition.data.CategoryDirective |
DEBUG, ERROR, INFO, WARN |
Constructor Summary | |
CategoriesDirective()
Create a CategoriesDirective instance. |
|
CategoriesDirective(CategoryDirective[] categories)
Create a CategoriesDirective instance. |
|
CategoriesDirective(String name)
Create a CategoriesDirective instance. |
|
CategoriesDirective(String name,
String priority,
String target,
CategoryDirective[] categories)
Create a CategoriesDirective instance. |
Method Summary | |
boolean |
equals(Object other)
Test this object for equality with the suppplied object. |
CategoryDirective[] |
getCategories()
Return the set of logging categories. |
CategoryDirective |
getCategoryDirective(String name)
Return a named category. |
int |
hashCode()
Return the hashcode for the object. |
Methods inherited from class org.apache.avalon.composition.data.CategoryDirective |
getName, getPriority, getTarget |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CategoriesDirective()
public CategoriesDirective(String name)
name
- the base category namepublic CategoriesDirective(CategoryDirective[] categories)
categories
- the categories to include in the directivepublic CategoriesDirective(String name, String priority, String target, CategoryDirective[] categories)
name
- the base category namepriority
- the default logging prioritytarget
- the default logging targetcategories
- the logging category descriptorsMethod Detail |
public CategoryDirective[] getCategories()
public CategoryDirective getCategoryDirective(String name)
name
- the category name
public boolean equals(Object other)
equals
in class CategoryDirective
public int hashCode()
hashCode
in class CategoryDirective
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |