Package org.eclipse.lsp4j.debug
Enum ProcessEventArgumentsStartMethod
- java.lang.Object
-
- java.lang.Enum<ProcessEventArgumentsStartMethod>
-
- org.eclipse.lsp4j.debug.ProcessEventArgumentsStartMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProcessEventArgumentsStartMethod>
public enum ProcessEventArgumentsStartMethod extends java.lang.Enum<ProcessEventArgumentsStartMethod>
Describes how the debug engine started debugging this process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACH
Debugger attached to an existing process.ATTACH_FOR_SUSPENDED_LAUNCH
A project launcher component has launched a new process in a suspended state and then asked the debugger to attach.LAUNCH
Process was launched under the debugger.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessEventArgumentsStartMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProcessEventArgumentsStartMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAUNCH
public static final ProcessEventArgumentsStartMethod LAUNCH
Process was launched under the debugger.
-
ATTACH
public static final ProcessEventArgumentsStartMethod ATTACH
Debugger attached to an existing process.
-
ATTACH_FOR_SUSPENDED_LAUNCH
public static final ProcessEventArgumentsStartMethod ATTACH_FOR_SUSPENDED_LAUNCH
A project launcher component has launched a new process in a suspended state and then asked the debugger to attach.
-
-
Method Detail
-
values
public static ProcessEventArgumentsStartMethod[] 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 (ProcessEventArgumentsStartMethod c : ProcessEventArgumentsStartMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessEventArgumentsStartMethod 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
-
-