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(String name)Add a handler name to this logger.List<String>getHandlerNames()Get the names of the configured handlers.booleanremoveHandlerName(String name)Remove a handler name from this logger.voidsetHandlerNames(String... names)Set the names of the configured handlers.voidsetHandlerNames(Collection<String> names)Set the names of the configured handlers.
-
-
-
Method Detail
-
getHandlerNames
List<String> getHandlerNames()
Get the names of the configured handlers.- Returns:
- the names of the configured handlers
-
setHandlerNames
void setHandlerNames(String... names)
Set the names of the configured handlers.- Parameters:
names- the names of the configured handlers
-
setHandlerNames
void setHandlerNames(Collection<String> names)
Set the names of the configured handlers.- Parameters:
names- the names of the configured handlers
-
addHandlerName
boolean addHandlerName(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(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
-
-