Interface HandlerContainingConfigurable
- All Known Subinterfaces:
HandlerConfiguration, LoggerConfiguration
- All Known Implementing Classes:
HandlerConfigurationImpl, LoggerConfigurationImpl
public interface HandlerContainingConfigurable
A configurable object which is a container for handlers.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddHandlerName(String name) Add a handler name to this logger.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 Details
-
getHandlerNames
-
setHandlerNames
Set the names of the configured handlers.- Parameters:
names- the names of the configured handlers
-
setHandlerNames
Set the names of the configured handlers.- Parameters:
names- the names of the configured handlers
-
addHandlerName
Add a handler name to this logger.- Parameters:
name- the handler name- Returns:
trueif the name was not already set,falseif it was
-
removeHandlerName
Remove a handler name from this logger.- Parameters:
name- the handler name- Returns:
trueif the name was removed,falseif it was not present
-