public class GetWPProperties extends XMLRequest
Constructor and Description |
---|
GetWPProperties(java.lang.String idnr)
Creates an instance of GetWPProperties
|
GetWPProperties(UC4ObjectName wpName)
Creates an instance of GetWPProperties
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<java.lang.String> |
agentPropertyKeyIterator()
Returns an
java.util.Iterator over Server property keys. |
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
java.lang.String |
getIdnr()
Returns idnr of the WP object
|
int |
getLastUse() |
int |
getLoggingDays() |
int |
getLoggingMb() |
int |
getMaxTraceSize()
returns the max trace size parameter
|
int |
getMinEventInterval() |
long |
getMqmemCache()
returns MQMEM cache
|
long |
getMqmemCacheActual()
returns Actual MQMEM cache
|
int |
getNumberOfWPDetails()
Returns the number of detail entries.
|
long |
getObjectCache()
returns object cache
|
long |
getObjectCacheActual()
returns Actual Object cache
|
org.w3c.dom.Element |
getOptionsElement()
Returns the option element
|
int |
getReservedApiUsers() |
long |
getScriptCache()
returns script cache
|
long |
getScriptCacheActual()
returns Actual Script cache
|
java.lang.String |
getServLanguage()
returns the language of the server
|
java.lang.String |
getSnmpInUse()
returns if SNMP is in use or not
|
protected java.lang.String |
getSrc()
Returns the request source.
|
int |
getTraceFlag(int index)
Returns the trace flag value.
|
java.lang.String |
getTraceFlagDescription(int index)
Returns a detailed description of a trace flag.
|
int |
getTraceFlagsSize()
returns the length of the trace flag array
|
java.lang.String |
getTraceFlagText(int index)
Returns the caption of a trace flag.
|
java.lang.String |
getTraceType()
returns the trace type
|
java.lang.String |
getTriggerText()
returns the trigger text
|
long |
getUserCache()
returns user cache
|
long |
getUserCacheActual()
returns Actual User cache
|
long |
getVaraCache()
returns vara cache
|
long |
getVaraCacheActual()
returns Actual Vara Cache
|
org.w3c.dom.Element |
getWPDetailElement()
Returns a value of the ServerDetail section
|
UC4ObjectName |
getWPName()
Returns the WP name.
|
org.w3c.dom.Element |
getWPPropertiesElement()
Returns the WP property element
|
java.lang.String |
getWPProperty(java.lang.String key)
Returns the value of an Server property or
null if the key
was not found. |
org.w3c.dom.Element |
getWPTraceElement()
Returns a value of the ServerDetail section
|
WPTraceOptions |
getWPTraceOptions()
Returns a WPTraceOptions Object
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isServerAlive()
Returns true if the Server is running or false if not.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
public GetWPProperties(UC4ObjectName wpName)
wpName
- Name of the WPpublic GetWPProperties(java.lang.String idnr)
idnr
- Idnr of the WP Objectpublic java.lang.String getWPProperty(java.lang.String key)
null
if the key
was not found.key
- Property namenull
if not foundpublic int getNumberOfWPDetails()
public boolean isServerAlive()
public UC4ObjectName getWPName()
public java.lang.String getIdnr()
public java.util.Iterator<java.lang.String> agentPropertyKeyIterator()
java.util.Iterator
over Server property keys.
These keys can be used with the method getWPProperty
. The
remove()
method will throw an exception.protected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
XMLRequest
createRequest
in class XMLRequest
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
handleContent
in class XMLRequest
public java.lang.String getTraceFlagText(int index)
index
- Index between 0 and 15public int getTraceFlag(int index)
index
- Index between 0 and 15public java.lang.String getTraceFlagDescription(int index)
index
- Index between 0 and 15protected boolean isAllowedInClientZero()
XMLRequest
XMLRequest
is allowed in client 0.
The default implementation returns false
, subclasses may override.isAllowedInClientZero
in class XMLRequest
true
if this request is allowed in client 0, false
otherwisepublic org.w3c.dom.Element getWPTraceElement()
public org.w3c.dom.Element getWPDetailElement()
public org.w3c.dom.Element getOptionsElement()
public org.w3c.dom.Element getWPPropertiesElement()
public WPTraceOptions getWPTraceOptions()
public int getTraceFlagsSize()
public int getMaxTraceSize()
public java.lang.String getTraceType()
public java.lang.String getTriggerText()
public int getLoggingMb()
public int getLoggingDays()
public int getReservedApiUsers()
public int getMinEventInterval()
public int getLastUse()
public java.lang.String getServLanguage()
public java.lang.String getSnmpInUse()
public long getScriptCache()
public long getScriptCacheActual()
public long getMqmemCache()
public long getMqmemCacheActual()
public long getObjectCache()
public long getObjectCacheActual()
public long getVaraCache()
public long getVaraCacheActual()
public long getUserCache()
public long getUserCacheActual()