Package org.jacoco.core.runtime
Enum AgentOptions.OutputMode
- java.lang.Object
-
- java.lang.Enum<AgentOptions.OutputMode>
-
- org.jacoco.core.runtime.AgentOptions.OutputMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AgentOptions.OutputMode>
- Enclosing class:
- AgentOptions
public static enum AgentOptions.OutputMode extends java.lang.Enum<AgentOptions.OutputMode>
Possible values forAgentOptions.OUTPUT
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description file
Value for theAgentOptions.OUTPUT
parameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE
.none
Value for theAgentOptions.OUTPUT
parameter: Do not produce any output.tcpclient
Value for theAgentOptions.OUTPUT
parameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESS
andAgentOptions.PORT
attribute.tcpserver
Value for theAgentOptions.OUTPUT
parameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESS
andAgentOptions.PORT
.
-
Constructor Summary
Constructors Modifier Constructor Description private
OutputMode()
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
Enum Constant Detail
-
file
public static final AgentOptions.OutputMode file
Value for theAgentOptions.OUTPUT
parameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE
.
-
tcpserver
public static final AgentOptions.OutputMode tcpserver
Value for theAgentOptions.OUTPUT
parameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESS
andAgentOptions.PORT
.
-
tcpclient
public static final AgentOptions.OutputMode tcpclient
Value for theAgentOptions.OUTPUT
parameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESS
andAgentOptions.PORT
attribute.
-
none
public static final AgentOptions.OutputMode none
Value for theAgentOptions.OUTPUT
parameter: Do not produce any output.
-
-
Method Detail
-
values
public static AgentOptions.OutputMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AgentOptions.OutputMode c : AgentOptions.OutputMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentOptions.OutputMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-