public class SoapXmlEIConfigData extends DCNodeConfigData
ASCODEBASE, BACKUP, BULKIO, configFiles, DATAFILESIZE, DEBUG, dirtyFlag, EXPCHANOPERATOR, EXPCHANVALUE, EXPCHANVALUE2, FILELEVELTRANSACTION, INPUTMONTIME, INPUTMONTIMEUNIT, LOGFILESIZE, MONITORINPUT, NARBACKUP, NARBACKUPDAYS, nodeId, NUMCHANNELS, NUMEXPCHANVALUES, NUMEXPCHANVALUES2, PULLTIME, PUSHTIME, RECORDSTATS, ROUTING, ROUTINGATTRIBUTE, ruleName, rules, RULESFILE, secFileName, SECONDARYCFG, udcHome, useFile, varTable
Constructor and Description |
---|
SoapXmlEIConfigData()
Constructor to be used by GUI to create a DCNodeConfigData with
initial set of default values
|
SoapXmlEIConfigData(java.lang.String inOSAHome,
java.lang.String inNodeId)
Constructor to be used by NodeManager which is aware of the
udcHome and nodeId
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFtpConfigFilename(java.lang.String udcHome,
java.lang.String nodeId)
Get ftp configuration file absolute path
|
byte[] |
getSoapConfigData()
Retrieves the soap-specific data in order to pass it to
the Node Manager.
|
java.lang.String |
getSoapConfigFilename()
Retrieves the path and name of the soap-specific configuration
file.
|
void |
load()
Overridden to not only load the general configuration info but also the
soap-specific parameters.
|
void |
save()
Write out the node configuration data to files.
|
protected void |
setDefaults()
Not applicable.
|
void |
setSoapConfigData(byte[] data)
Stores the SOAP-specific parameters for use by the appropriate
GUI panels.
|
void |
setSoapConfigFilename(java.lang.String path)
Sets the path and name of the soap-specific config file.
|
clone, defaultValue, deleteItem, equals, getConfigDir, getConfigFile, getConfigFileNames, getDirty, getGenConfigFilePathName, getHomeDir, getItem, getNodeId, getPreferredRules, getPrefRulesFilePathName, getRuleClass, getRuleFilePathName, getRuleName, getRules, getSettingsKeys, getUseFile, readConfigFiles, readFile, setBaseDefaults, setConfigFile, setDirty, setHomeDir, setItem, setNodeId, setPreferredRules, setRuleClass, setRuleFileName, setRuleFilePathName, setRules, setRulesFromClass, setRulesFromClass, setRulesFromFile, setUseFile, toString, writeConfigFiles, writeFile
public SoapXmlEIConfigData()
public SoapXmlEIConfigData(java.lang.String inOSAHome, java.lang.String inNodeId) throws java.io.IOException
java.io.IOException
public static java.lang.String getFtpConfigFilename(java.lang.String udcHome, java.lang.String nodeId)
udcHome
- home directorynodeId
- id stringpublic void setSoapConfigData(byte[] data)
data
- Array of bytes representing the soap-specific datapublic byte[] getSoapConfigData()
public java.lang.String getSoapConfigFilename()
public void setSoapConfigFilename(java.lang.String path)
path
- contains the path and filenameprotected void setDefaults()
setDefaults
in class DCNodeConfigData
public void load() throws java.io.IOException
load
in class DCNodeConfigData
java.io.IOException
- If either the general.cfg or ruleName
file
could not be readpublic void save() throws java.io.IOException
save
in class DCNodeConfigData
java.io.IOException
- If the config directory does not exist, or either the
general.cfg or rules.cfg file could not be written to