Package org.jacoco.core.runtime
Enum Class AgentOptions.OutputMode
- All Implemented Interfaces:
Serializable
,Comparable<AgentOptions.OutputMode>
,Constable
- Enclosing class:
AgentOptions
Possible values for
AgentOptions.OUTPUT
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue for theAgentOptions.OUTPUT
parameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE
.Value for theAgentOptions.OUTPUT
parameter: Do not produce any output.Value for theAgentOptions.OUTPUT
parameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESS
andAgentOptions.PORT
attribute.Value for theAgentOptions.OUTPUT
parameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESS
andAgentOptions.PORT
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentOptions.OutputMode
Returns the enum constant of this class with the specified name.static AgentOptions.OutputMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
file
Value for theAgentOptions.OUTPUT
parameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE
. -
tcpserver
Value for theAgentOptions.OUTPUT
parameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESS
andAgentOptions.PORT
. -
tcpclient
Value for theAgentOptions.OUTPUT
parameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESS
andAgentOptions.PORT
attribute. -
none
Value for theAgentOptions.OUTPUT
parameter: Do not produce any output.
-
-
Constructor Details
-
OutputMode
private OutputMode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-