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 fileValue for theAgentOptions.OUTPUTparameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE.noneValue for theAgentOptions.OUTPUTparameter: Do not produce any output.tcpclientValue for theAgentOptions.OUTPUTparameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESSandAgentOptions.PORTattribute.tcpserverValue for theAgentOptions.OUTPUTparameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESSandAgentOptions.PORT.
-
Constructor Summary
Constructors Modifier Constructor Description privateOutputMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AgentOptions.OutputModevalueOf(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.OUTPUTparameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE.
-
tcpserver
public static final AgentOptions.OutputMode tcpserver
Value for theAgentOptions.OUTPUTparameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESSandAgentOptions.PORT.
-
tcpclient
public static final AgentOptions.OutputMode tcpclient
Value for theAgentOptions.OUTPUTparameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESSandAgentOptions.PORTattribute.
-
none
public static final AgentOptions.OutputMode none
Value for theAgentOptions.OUTPUTparameter: 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
-
-