Package org.jboss.logmanager.config
Interface HandlerContainingConfigurable
-
- All Known Subinterfaces:
HandlerConfiguration,LoggerConfiguration
public interface HandlerContainingConfigurableA configurable object which is a container for handlers.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddHandlerName(java.lang.String name)Add a handler name to this logger.java.util.List<java.lang.String>getHandlerNames()Get the names of the configured handlers.booleanremoveHandlerName(java.lang.String name)Remove a handler name from this logger.voidsetHandlerNames(java.lang.String... names)Set the names of the configured handlers.voidsetHandlerNames(java.util.Collection<java.lang.String> names)Set the names of the configured handlers.
-
-
-
Method Detail
-
getHandlerNames
java.util.List<java.lang.String> getHandlerNames()
Get the names of the configured handlers.- Returns:
- the names of the configured handlers
-
setHandlerNames
void setHandlerNames(java.lang.String... names)
Set the names of the configured handlers.- Parameters:
names- the names of the configured handlers
-
setHandlerNames
void setHandlerNames(java.util.Collection<java.lang.String> names)
Set the names of the configured handlers.- Parameters:
names- the names of the configured handlers
-
addHandlerName
boolean addHandlerName(java.lang.String name)
Add a handler name to this logger.- Parameters:
name- the handler name- Returns:
trueif the name was not already set,falseif it was
-
removeHandlerName
boolean removeHandlerName(java.lang.String name)
Remove a handler name from this logger.- Parameters:
name- the handler name- Returns:
trueif the name was removed,falseif it was not present
-
-