Package io.github.cdklabs.projen
Enum GitpodOpenMode
- java.lang.Object
-
- java.lang.Enum<GitpodOpenMode>
-
- io.github.cdklabs.projen.GitpodOpenMode
-
- All Implemented Interfaces:
Serializable,Comparable<GitpodOpenMode>
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.756Z") @Stability(Experimental) public enum GitpodOpenMode extends Enum<GitpodOpenMode>
(experimental) Configure how the terminal should be opened relative to the previous task.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SPLIT_BOTTOM(experimental) Splits and adds the terminal to the bottom.SPLIT_LEFT(experimental) Splits and adds the terminal to the left.SPLIT_RIGHT(experimental) Splits and adds the terminal to the right.SPLIT_TOP(experimental) Splits and adds the terminal to the top.TAB_AFTER(experimental) Opens in the same tab group right after the previous tab.TAB_BEFORE(experimental) Opens in the same tab group left before the previous tab.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GitpodOpenModevalueOf(String name)Returns the enum constant of this type with the specified name.static GitpodOpenMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAB_AFTER
@Stability(Experimental) public static final GitpodOpenMode TAB_AFTER
(experimental) Opens in the same tab group right after the previous tab.
-
TAB_BEFORE
@Stability(Experimental) public static final GitpodOpenMode TAB_BEFORE
(experimental) Opens in the same tab group left before the previous tab.
-
SPLIT_RIGHT
@Stability(Experimental) public static final GitpodOpenMode SPLIT_RIGHT
(experimental) Splits and adds the terminal to the right.
-
SPLIT_LEFT
@Stability(Experimental) public static final GitpodOpenMode SPLIT_LEFT
(experimental) Splits and adds the terminal to the left.
-
SPLIT_TOP
@Stability(Experimental) public static final GitpodOpenMode SPLIT_TOP
(experimental) Splits and adds the terminal to the top.
-
SPLIT_BOTTOM
@Stability(Experimental) public static final GitpodOpenMode SPLIT_BOTTOM
(experimental) Splits and adds the terminal to the bottom.
-
-
Method Detail
-
values
public static GitpodOpenMode[] 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 (GitpodOpenMode c : GitpodOpenMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GitpodOpenMode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-