|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.pat.onlprot.standardProtocolModule.ProtocolModule
de.bsvrz.pat.onlprot.standardProtocolModule.StandardProtocoller
public class StandardProtocoller
Der Standardprotokollierer, welcher eine tabellarische Ausgabe (in drei verschieden ausführlichen Tiefen) und eine XML-Ausgabe erzeugen kann.
Constructor Summary | |
---|---|
StandardProtocoller()
Erzeugt ein neues Objekt der Klasse StandardProtocoller mit dem actionText Aktualisierung |
|
StandardProtocoller(String actionText)
Erzeugt ein neues Objekt der Klasse StandardProtocoller mit speziellem actionText |
Method Summary | |
---|---|
void |
closeProtocol()
Führt Aufräumarbeiten nach Beendigung des Standardprotokollierers aus. |
String |
getHelp()
Gibt Information über die Aufrufparameter des Protokollierungsmoduls zurück |
protected ArgumentList.ValueSelection |
getProtocollerSelection()
Stellt Liste der bekannten Protokollierer zusammen. |
ClientReceiverInterface |
initProtocol(ArgumentList argumentList,
PrintWriter protocolFileWriter,
String[] args)
Führt die Initialisierungsschritte des Standardprotokollierers aus. |
ClientReceiverInterface |
initProtocolWithoutHeader(ArgumentList protocollerArgumentList,
PrintWriter printWriter)
Führt die Initialisierungsschritte des Standardprotokollierers aus. |
void |
update(ResultData[] results)
Aktualisierungsmethode, die nach Empfang eines angemeldeten Datensatzes vom benutzten Protokollierer aufgerufen wird. |
Methods inherited from class de.bsvrz.pat.onlprot.standardProtocolModule.ProtocolModule |
---|
getProtocolFileWriter, getProtocoller, setProtocolFileWriter, setProtocoller |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardProtocoller()
StandardProtocoller
mit dem actionText
Aktualisierung
public StandardProtocoller(String actionText)
StandardProtocoller
mit speziellem actionText
actionText
- String mit dem gewünschten Ausgabetext bei AktualisierungenMethod Detail |
---|
public String getHelp()
getHelp
in interface ProtocolModuleInterface
getHelp
in class ProtocolModule
public ClientReceiverInterface initProtocol(ArgumentList argumentList, PrintWriter protocolFileWriter, String[] args)
initProtocol
in interface ProtocolModuleInterface
initProtocol
in class ProtocolModule
argumentList
- ArgumentList
der noch nicht ausgewerteten Aufrufparameter der ApplikationprotocolFileWriter
- PrintWriter der protokollierten Datensequenzenargs
- String[] mit den Kommandozeilenargumenten
public ClientReceiverInterface initProtocolWithoutHeader(ArgumentList protocollerArgumentList, PrintWriter printWriter)
protocollerArgumentList
- printWriter
-
public void update(ResultData[] results)
update
in class ProtocolModule
results
- ResultData
[] mit den empfangenen ErgebnisdatensätzenClientReceiverInterface.update(de.bsvrz.dav.daf.main.ResultData[])
public void closeProtocol()
closeProtocol
in interface ProtocolModuleInterface
closeProtocol
in class ProtocolModule
protected ArgumentList.ValueSelection getProtocollerSelection()
ArgumentList.Argument.asValueCase(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.ValueSelection)
benutzt werden, um eine der verschiedenen Ausgabeoptionen auszuwählen.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |