|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.metro.data.AbstractDirective net.dpml.metro.data.CategoryDirective net.dpml.metro.data.CategoriesDirective
Description of the configuration of a set of categories.
CategoryDirective
,
Serialized FormConstructor Summary | |
CategoriesDirective()
Create a CategoriesDirective instance. |
|
CategoriesDirective(CategoryDirective[] categories)
Create a CategoriesDirective instance. |
|
CategoriesDirective(String name)
Create a CategoriesDirective instance. |
|
CategoriesDirective(String name,
Priority 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 net.dpml.metro.data.CategoryDirective |
getName, getPriority, getTarget |
Methods inherited from class net.dpml.metro.data.AbstractDirective |
getPartHandlerURI, setupURI |
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, Priority priority, String target, CategoryDirective[] categories) throws NullPointerException
name
- the base category namepriority
- the default logging prioritytarget
- the default logging targetcategories
- the logging category descriptors
NullPointerException
- if a category array value is nullMethod Detail |
public CategoryDirective[] getCategories()
public CategoryDirective getCategoryDirective(String name)
name
- the category name
public boolean equals(Object other)
equals
in class CategoryDirective
other
- the other object
public int hashCode()
hashCode
in class CategoryDirective
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |