de.bsvrz.sys.testsys.testsys
Class UeberpruefungSystemApp
java.lang.Object
de.bsvrz.sys.testsys.testsys.UeberpruefungSystemApp
- All Implemented Interfaces:
- de.bsvrz.sys.funclib.application.StandardApplication
public class UeberpruefungSystemApp
- extends java.lang.Object
- implements de.bsvrz.sys.funclib.application.StandardApplication
Hauptprogramm der SWE Überprüfung System ; Segment 10, SWE 10.2.
Startet die Anwendung "Überprüfung System". Überprüfung System initialisiert zuerst die DaV Verbindung und startet dann die Plugins.
Die Plugins führen die jeweiligen Überprüfungen aus.
- Author:
- Chriesten
Field Summary |
static de.bsvrz.dav.daf.main.ClientDavInterface |
_statConnection
Aktuelle Verbindung zum Datenverteiler. |
Method Summary |
void |
initialize(de.bsvrz.dav.daf.main.ClientDavInterface davConnection)
|
static void |
main(java.lang.String[] args)
startet das Modul Überprüfung System (SWE 10.2). |
void |
parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
|
void |
startUesys()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_statConnection
public static de.bsvrz.dav.daf.main.ClientDavInterface _statConnection
- Aktuelle Verbindung zum Datenverteiler. Wird für JUNIT Test
gebraucht.
UeberpruefungSystemApp
public UeberpruefungSystemApp()
initialize
public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface davConnection)
throws java.lang.Exception
- Specified by:
initialize
in interface de.bsvrz.sys.funclib.application.StandardApplication
- Throws:
java.lang.Exception
parseArguments
public void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
throws java.lang.Exception
- Specified by:
parseArguments
in interface de.bsvrz.sys.funclib.application.StandardApplication
- Throws:
java.lang.Exception
startUesys
public void startUesys()
main
public static void main(java.lang.String[] args)
- startet das Modul Überprüfung System (SWE 10.2).
- Parameters:
args
- Argumente. Neben den DaV - sind die folgenden Argumente vorgesehen:
-ueberpruefer, Liste der Plugins
-modLog, Einstellung des optionales modulspezifischen Loggings
-ueberpruefer=, Pluginparameter
werden mit ";" getrennt angehängt, z.B. (ohne Zeilenumbruch)
-ueberpruefer=de.bsvrz.sys.testsys.modulUhrzeit.ModulUhrzeit:de.bsvrz.sys.testsys.modulStartStoppUeb.ModulStartStoppUeb;rechner=lokal:
de.bsvrz.sys.testsys.modulApplUeb.ModulApplUeb
Überprüferargumente
-modLog=dateiName::modus::filter z.B. -modLog="/temp/TestTestSys/sys.log:1"
modus 0: Datei überschreiben, 1: anhängen, 2: Datum vor jede Ausgabezeile, 4: Ausgabe zusätzlich auf System.out
dateiName: Ausgabedatei, null: Ausgaben unterdrücken
filter, regulärer Ausdruck, mögliche EinzelausdrückeBM, VERLAUF, ERROR, TTT
Beispielparameter:
-datenverteiler=192.0.1.97:8085
-debugLevelStdErrText=FINE
-benutzer=Tester
-authentifizierung=C:/Datenverteiler/skripte-dosshell/passwd
-inkarnationsName=Joachim
-modLog=C:/temp/TestTestSys/testSyslog.log::4::(BM|VERLAUF)
-ueberpruefer="de.bsvrz.sys.testsys.modulUhrzeit.ModulUhrzeit,de.bsvrz.sys.testsys.modulStartStoppUeb.ModulStartStoppUeb,de.bsvrz.sys.testsys.modulApplUeb.ModulApplUeb"