Package org.eclipse.lsp4j.debug
Enum OutputEventArgumentsGroup
- java.lang.Object
-
- java.lang.Enum<OutputEventArgumentsGroup>
-
- org.eclipse.lsp4j.debug.OutputEventArgumentsGroup
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OutputEventArgumentsGroup>
public enum OutputEventArgumentsGroup extends java.lang.Enum<OutputEventArgumentsGroup>
Support for keeping an output log organized by grouping related messages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END
End the current group and decrease the indentation of subsequent output events.START
Start a new group in expanded mode.START_COLLAPSED
Start a new group in collapsed mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutputEventArgumentsGroup
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OutputEventArgumentsGroup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final OutputEventArgumentsGroup START
Start a new group in expanded mode. Subsequent output events are members of the group and should be shown indented. The 'output' attribute becomes the name of the group and is not indented.
-
START_COLLAPSED
public static final OutputEventArgumentsGroup START_COLLAPSED
Start a new group in collapsed mode. Subsequent output events are members of the group and should be shown indented (as soon as the group is expanded).The 'output' attribute becomes the name of the group and is not indented.
-
END
public static final OutputEventArgumentsGroup END
End the current group and decrease the indentation of subsequent output events.A non-empty 'output' attribute is shown as the unindented end of the group.
-
-
Method Detail
-
values
public static OutputEventArgumentsGroup[] 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 (OutputEventArgumentsGroup c : OutputEventArgumentsGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputEventArgumentsGroup 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
-
-