Class ALogCollectionFilter<T extends ILogFilter>
- java.lang.Object
-
- de.desy.mst.libs.framework.mstapp.util.xml.AXmlBeschreibung
-
- de.desy.mst.libs.framework.mstapp.logging.filter.ALogFilter
-
- de.desy.mst.libs.framework.mstapp.logging.filter.ALogCollectionFilter<T>
-
- All Implemented Interfaces:
ILogFilter
,IXmlBeschreibung
- Direct Known Subclasses:
OderLogFilter
,UndLogFilter
public abstract class ALogCollectionFilter<T extends ILogFilter> extends ALogFilter
Manages collections von Filtern- Version:
- 1.0.0
- Author:
- ws
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description ALogCollectionFilter(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
add(T filter)
void
clear()
boolean
contains(T filter)
protected void
decorateElement(org.w3c.dom.Document document, org.w3c.dom.Element element)
Element mit Filterspezifischen Infos, jenseits von getName() versehen
Argumente nie nullprotected boolean
passOnStandardModus(LogMsg logMsg)
wird nur aufgerufen, wenn der Filter in Standard Modus
Implementation des Filterverhaltens im Standard Modusprotected abstract boolean
passOnStandardModus(LogMsg logMsg, java.util.List<T> dieFilter)
zum implementieren von pass(...), dieFilter: never nullboolean
remove(T filter)
int
size()
-
Methods inherited from class de.desy.mst.libs.framework.mstapp.logging.filter.ALogFilter
equals, filter, getBeschreibungAsElement, getModus, getName, getSaveString, hashCode, makeKey, pass, set, setFromSaveString, setModus
-
Methods inherited from class de.desy.mst.libs.framework.mstapp.util.xml.AXmlBeschreibung
createDocument, createElementWithTextContent, getXMLBeschreibung, getXMLBeschreibung, wrapInNamedElementWrapIn
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.desy.mst.libs.framework.mstapp.util.xml.IXmlBeschreibung
getXMLBeschreibung
-
-
-
-
Method Detail
-
passOnStandardModus
protected boolean passOnStandardModus(LogMsg logMsg)
Description copied from class:ALogFilter
wird nur aufgerufen, wenn der Filter in Standard Modus
Implementation des Filterverhaltens im Standard Modus- Specified by:
passOnStandardModus
in classALogFilter
-
decorateElement
protected void decorateElement(org.w3c.dom.Document document, org.w3c.dom.Element element)
Description copied from class:ALogFilter
Element mit Filterspezifischen Infos, jenseits von getName() versehen
Argumente nie null- Specified by:
decorateElement
in classALogFilter
-
size
public final int size()
-
contains
public final boolean contains(T filter)
-
remove
public final boolean remove(T filter)
-
clear
public final void clear()
-
add
public final boolean add(T filter)
-
-