java.io.Serializable, java.lang.Comparable<AgentOptions.OutputMode>public static enum AgentOptions.OutputMode extends java.lang.Enum<AgentOptions.OutputMode>
AgentOptions.OUTPUT.| Enum Constant | Description |
|---|---|
file |
Value for the
AgentOptions.OUTPUT parameter: At VM
termination execution data is written to the file specified by
AgentOptions.DESTFILE. |
none |
Value for the
AgentOptions.OUTPUT parameter: Do not produce
any output. |
tcpclient |
Value for the
AgentOptions.OUTPUT parameter: At startup the
agent connects to a TCP port specified by the
AgentOptions.ADDRESS and AgentOptions.PORT attribute. |
tcpserver |
Value for the
AgentOptions.OUTPUT parameter: The agent
listens for incoming connections on a TCP port specified by
AgentOptions.ADDRESS and AgentOptions.PORT. |
| Modifier and Type | Method | Description |
|---|---|---|
static AgentOptions.OutputMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AgentOptions.OutputMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentOptions.OutputMode file
AgentOptions.OUTPUT parameter: At VM
termination execution data is written to the file specified by
AgentOptions.DESTFILE.public static final AgentOptions.OutputMode tcpserver
AgentOptions.OUTPUT parameter: The agent
listens for incoming connections on a TCP port specified by
AgentOptions.ADDRESS and AgentOptions.PORT.public static final AgentOptions.OutputMode tcpclient
AgentOptions.OUTPUT parameter: At startup the
agent connects to a TCP port specified by the
AgentOptions.ADDRESS and AgentOptions.PORT attribute.public static final AgentOptions.OutputMode none
AgentOptions.OUTPUT parameter: Do not produce
any output.public static AgentOptions.OutputMode[] values()
for (AgentOptions.OutputMode c : AgentOptions.OutputMode.values()) System.out.println(c);
public static AgentOptions.OutputMode 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 nullCopyright © 2018. All rights reserved.