public abstract class AbstractContainerMarker extends Object implements ContainerMarker
Marker
s which contains values (so which are a bit more than Marker
as
defined by SLF4J). For "real" marker use MarkerFactory.getMarker(String)
.Constructor and Description |
---|
AbstractContainerMarker(String name,
org.slf4j.Marker... references) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.slf4j.Marker reference) |
boolean |
contains(org.slf4j.Marker other) |
boolean |
contains(String name) |
boolean |
equals(Object obj) |
<M extends org.slf4j.Marker> |
get(String name) |
String |
getName() |
boolean |
hasChildren() |
int |
hashCode() |
boolean |
hasReferences() |
Iterator<org.slf4j.Marker> |
iterator() |
boolean |
remove(org.slf4j.Marker referenceToRemove) |
String |
toString() |
public AbstractContainerMarker(String name, org.slf4j.Marker... references)
name
- the name of the Marker
references
- the other associated markerspublic String getName()
getName
in interface org.slf4j.Marker
public <M extends org.slf4j.Marker> M get(String name)
get
in interface ContainerMarker
M
- the type of the markername
- the name of the markerpublic void add(org.slf4j.Marker reference)
add
in interface org.slf4j.Marker
public boolean hasReferences()
hasReferences
in interface org.slf4j.Marker
public boolean hasChildren()
hasChildren
in interface org.slf4j.Marker
public Iterator<org.slf4j.Marker> iterator()
iterator
in interface org.slf4j.Marker
public boolean remove(org.slf4j.Marker referenceToRemove)
remove
in interface org.slf4j.Marker
public boolean contains(org.slf4j.Marker other)
contains
in interface org.slf4j.Marker
public boolean contains(String name)
contains
in interface org.slf4j.Marker
public boolean equals(Object obj)
public int hashCode()
Copyright © 2004–2022 XWiki. All rights reserved.