|
webMethods Broker Administration Java API Version 9.5.1.0.171 091713 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.activesw.api.client.BrokerLogConfig
public class BrokerLogConfig
A log configuration object.
Field Summary | |
---|---|
static java.lang.String |
LOG_OUTPUT_NT_EVENT_LOG
|
static java.lang.String |
LOG_OUTPUT_SNMP_TRAP
|
static java.lang.String |
LOG_OUTPUT_UNIX_SYSLOG
|
static java.lang.String |
LOG_TOPIC_ALERT
|
static java.lang.String |
LOG_TOPIC_INFO
|
static java.lang.String |
LOG_TOPIC_WARNING
|
Constructor Summary | |
---|---|
BrokerLogConfig()
Create a new log configuration object. |
|
BrokerLogConfig(BrokerLogConfig log_config)
Copy constructor. |
Method Summary | |
---|---|
void |
clearLogOutput(java.lang.String code)
Clear the state of a single log output. |
void |
clearLogOutputs()
Clear the state of all log outputs. |
void |
clearLogTopic(java.lang.String code)
Clear the state of a single log topic. |
void |
clearLogTopics()
Clear the state of all log topics. |
BrokerLogConfigEntry |
getLogOutput(java.lang.String code)
Get the value of a single log output. |
BrokerLogConfigEntry[] |
getLogOutputs()
Get the state of all log outputs. |
BrokerLogConfigEntry |
getLogTopic(java.lang.String code)
Get the value of a single log topic's state. |
BrokerLogConfigEntry[] |
getLogTopics()
Get the states of all the log topics. |
void |
setLogOutput(BrokerLogConfigEntry log_output)
Set the value of a simple log output's state. |
void |
setLogOutput(java.lang.String code,
boolean enabled,
java.lang.String value)
Set the value of a single log output's state. |
void |
setLogTopic(BrokerLogConfigEntry log_topic)
Set the value of a single log topic's state. |
void |
setLogTopic(java.lang.String code,
boolean enabled,
java.lang.String value)
Set the value of a single log topic's state. |
java.lang.String |
toString()
Get a string with the log config information in a form suitable for human viewing. |
java.lang.String |
toString(int indent_level)
Get a string with the log config information in a form suitable for human viewing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOG_OUTPUT_UNIX_SYSLOG
public static final java.lang.String LOG_OUTPUT_NT_EVENT_LOG
public static final java.lang.String LOG_OUTPUT_SNMP_TRAP
public static final java.lang.String LOG_TOPIC_ALERT
public static final java.lang.String LOG_TOPIC_WARNING
public static final java.lang.String LOG_TOPIC_INFO
Constructor Detail |
---|
public BrokerLogConfig()
public BrokerLogConfig(BrokerLogConfig log_config) throws BrokerException
BrokerNullParameterException
- If log_config is null.
BrokerException
Method Detail |
---|
public BrokerLogConfigEntry getLogOutput(java.lang.String code) throws BrokerException
BrokerNullParameterException
- If code is null.
BrokerOutOfRangeException
- If the code value is not in this log config.
BrokerException
public BrokerLogConfigEntry[] getLogOutputs()
public void setLogOutput(java.lang.String code, boolean enabled, java.lang.String value) throws BrokerException
BrokerNullParameterException
- If code is null.
BrokerException
public void setLogOutput(BrokerLogConfigEntry log_output) throws BrokerException
BrokerNullParameterException
- If log_outputs is null, or if log_output.code is null.
BrokerException
public void clearLogOutput(java.lang.String code) throws BrokerException
BrokerNullPointerException
- If code is null.
BrokerException
public void clearLogOutputs()
public BrokerLogConfigEntry getLogTopic(java.lang.String code) throws BrokerException
BrokerNullParameterException
- If code is null.
BrokerOutOfRangeException
- If the code value is not set in this log config.
BrokerException
public BrokerLogConfigEntry[] getLogTopics()
public void setLogTopic(java.lang.String code, boolean enabled, java.lang.String value) throws BrokerException
BrokerNullParameterException
- If code is null.
BrokerException
public void setLogTopic(BrokerLogConfigEntry log_topic) throws BrokerException
BrokerNullParameterException
- If log_topic is null, or if log_topic.code is null.
BrokerException
public void clearLogTopic(java.lang.String code) throws BrokerException
BrokerNullParameterException
- If code is null.
BrokerException
public void clearLogTopics()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent_level)
|
webMethods Broker Administration Java API Version 9.5.1.0.171 091713 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |