public static enum ClientADDPOptions.AddpTraceMode extends java.lang.Enum<ClientADDPOptions.AddpTraceMode>
Enum Constant | Description |
---|---|
Both |
Log ADDP traces on client side and query server to log ADDP traces in server logs.
|
Local |
Log ADDP traces on client side only.
|
None |
Do not log ADDP traces.
|
Remote |
Query server to log ADDP traces in server logs.
|
Modifier and Type | Method | Description |
---|---|---|
static ClientADDPOptions.AddpTraceMode |
parse(java.lang.String strMode) |
This static method analyzes ADDP trace mode string value and returns correspondent
enumeration value.
Values mean: "local" (or "true" , "yes" , "on" ) -
log ADDP traces on client side only,
"remote" - query server to log ADDP traces in server logs,
"both" (or "full" ) - log ADDP traces on client side and
query server to log ADDP traces in server logs,
"none" or any illegal value - do not log ADDP traces.
This method also supports Configuration Server CfgTraceMode enumeration values
by the following way:
|
boolean |
traceLocal() |
Returns indicator to enable ADDP traces in client side logs.
|
boolean |
traceRemote() |
Returns indicator to enable ADDP traces in server side logs.
|
static ClientADDPOptions.AddpTraceMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ClientADDPOptions.AddpTraceMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientADDPOptions.AddpTraceMode None
public static final ClientADDPOptions.AddpTraceMode Local
public static final ClientADDPOptions.AddpTraceMode Remote
public static final ClientADDPOptions.AddpTraceMode Both
public static ClientADDPOptions.AddpTraceMode[] values()
for (ClientADDPOptions.AddpTraceMode c : ClientADDPOptions.AddpTraceMode.values()) System.out.println(c);
public static ClientADDPOptions.AddpTraceMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean traceLocal()
public boolean traceRemote()
public static ClientADDPOptions.AddpTraceMode parse(java.lang.String strMode)
"local"
(or "true"
, "yes"
, "on"
) -
log ADDP traces on client side only,"remote"
- query server to log ADDP traces in server logs,"both"
(or "full"
) - log ADDP traces on client side and
query server to log ADDP traces in server logs,"none"
or any illegal value - do not log ADDP traces.
CfgTraceMode trMode = CfgTraceMode.CFGTMLocal;
config.setAddpTraceMode(AddpTraceMode.parse(trMode.toString()));
strMode
- string value representing trace modeSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.