public interface HandlerContainingConfigurable
Modifier and Type | Method and Description |
---|---|
boolean |
addHandlerName(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.
|
boolean |
removeHandlerName(java.lang.String name)
Remove a handler name from this logger.
|
void |
setHandlerNames(java.util.Collection<java.lang.String> names)
Set the names of the configured handlers.
|
void |
setHandlerNames(java.lang.String... names)
Set the names of the configured handlers.
|
java.util.List<java.lang.String> getHandlerNames()
void setHandlerNames(java.lang.String... names)
names
- the names of the configured handlersvoid setHandlerNames(java.util.Collection<java.lang.String> names)
names
- the names of the configured handlersboolean addHandlerName(java.lang.String name)
name
- the handler nametrue
if the name was not already set, false
if it wasboolean removeHandlerName(java.lang.String name)
name
- the handler nametrue
if the name was removed, false
if it was not present