public enum MacrosMode extends Enum<MacrosMode>
| Enum Constant and Description |
|---|
DISABLE
Doesn't run macros at all.
|
ENABLE
Runs all macros automatically.
|
WARN
Warns about macros and asks permission to run them.
|
| Modifier and Type | Method and Description |
|---|---|
static MacrosMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MacrosMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MacrosMode DISABLE
public static final MacrosMode ENABLE
public static final MacrosMode WARN
public static MacrosMode[] values()
for (MacrosMode c : MacrosMode.values()) System.out.println(c);
public static MacrosMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023–2024. All rights reserved.