Class SystemIni
- java.lang.Object
-
- de.desy.mst.libs.framework.mstapp.ini.SystemIni
-
- All Implemented Interfaces:
IIniFileObserver
public class SystemIni extends java.lang.Object implements IIniFileObserver
Ini Klasse fuer die System Weiten Properties- Version:
- 1.0.0
- Author:
- ws
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TINE_NAME_SERVER_ADDRESS_BACKUP_KEY
Deprecated.static java.lang.String
TINE_NAME_SERVER_ADDRESS_KEY
Deprecated.static java.lang.String
TINE_NAME_SERVER_DEFAULT_ADDRESS
Deprecated.static java.lang.String
TINE_NAME_SERVER_DEFAULT_ADDRESS_BACKUP
Deprecated.
-
Constructor Summary
Constructors Constructor Description SystemIni()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getDefaultIniBaumRoot()
Am Anfang wird ein Default Baum konstruiert.java.util.Map<java.lang.String,java.lang.String>
getSystemProperties()
never nullTabellenDatenSystemIni
getTabellenDatenSystemIni()
java.lang.String
getTine_Name_Server_Address()
Deprecated.java.lang.String
getTine_Name_Server_Backup_Address()
Deprecated.boolean
inSeinenWertenGleich(SystemIni otherSystemIni)
void
onNewIniAvailable(java.lang.Object iniBaumRoot)
sets new properties, if iniBaumRoot is of correct type and new properties not nulljava.lang.Object
onPrepareForExport()
Wird direkt vor dem rausschreiben des IniBaums aufgerufen.
Hier kann der Baum noch mal auf den neuesten Stand (intern oder extern) gebracht werden.void
setSystemProperties(java.util.Map<java.lang.String,java.lang.String> properties)
void
setTabellenDatenSystemIni(TabellenDatenSystemIni tabellenDatenSystemIni)
-
-
-
Field Detail
-
TINE_NAME_SERVER_DEFAULT_ADDRESS
@Deprecated public static final java.lang.String TINE_NAME_SERVER_DEFAULT_ADDRESS
Deprecated.- See Also:
- Constant Field Values
-
TINE_NAME_SERVER_ADDRESS_KEY
@Deprecated public static final java.lang.String TINE_NAME_SERVER_ADDRESS_KEY
Deprecated.- See Also:
- Constant Field Values
-
TINE_NAME_SERVER_DEFAULT_ADDRESS_BACKUP
@Deprecated public static final java.lang.String TINE_NAME_SERVER_DEFAULT_ADDRESS_BACKUP
Deprecated.- See Also:
- Constant Field Values
-
TINE_NAME_SERVER_ADDRESS_BACKUP_KEY
@Deprecated public static final java.lang.String TINE_NAME_SERVER_ADDRESS_BACKUP_KEY
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultIniBaumRoot
public java.lang.Object getDefaultIniBaumRoot()
Description copied from interface:IIniFileObserver
Am Anfang wird ein Default Baum konstruiert. Kann zur Erstellung einer XML Vorlage verwended werden.- Specified by:
getDefaultIniBaumRoot
in interfaceIIniFileObserver
-
onPrepareForExport
public java.lang.Object onPrepareForExport()
Description copied from interface:IIniFileObserver
Wird direkt vor dem rausschreiben des IniBaums aufgerufen.
Hier kann der Baum noch mal auf den neuesten Stand (intern oder extern) gebracht werden.- Specified by:
onPrepareForExport
in interfaceIIniFileObserver
- Returns:
- die neue/alte upgedatete iniBaumRoot (null wird ignoriert)
-
onNewIniAvailable
public void onNewIniAvailable(java.lang.Object iniBaumRoot)
sets new properties, if iniBaumRoot is of correct type and new properties not null- Specified by:
onNewIniAvailable
in interfaceIIniFileObserver
-
getTine_Name_Server_Address
@Deprecated public java.lang.String getTine_Name_Server_Address()
Deprecated.never null
-
getTine_Name_Server_Backup_Address
@Deprecated public java.lang.String getTine_Name_Server_Backup_Address()
Deprecated.never null
-
getSystemProperties
public final java.util.Map<java.lang.String,java.lang.String> getSystemProperties()
never null
-
setSystemProperties
public final void setSystemProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
getTabellenDatenSystemIni
public final TabellenDatenSystemIni getTabellenDatenSystemIni()
-
setTabellenDatenSystemIni
public final void setTabellenDatenSystemIni(TabellenDatenSystemIni tabellenDatenSystemIni)
-
inSeinenWertenGleich
public boolean inSeinenWertenGleich(SystemIni otherSystemIni)
-
-