public static enum Effect.RestartEnum extends Enum<Effect.RestartEnum>
Modifier and Type | Class and Description |
---|---|
static class |
Effect.RestartEnum.Adapter |
Enum Constant and Description |
---|
ALWAYS |
NEVER |
NOTDEFINED |
WHENNOTACTIVE |
Modifier and Type | Method and Description |
---|---|
static Effect.RestartEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Effect.RestartEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Effect.RestartEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Effect.RestartEnum ALWAYS
public static final Effect.RestartEnum WHENNOTACTIVE
public static final Effect.RestartEnum NEVER
public static final Effect.RestartEnum NOTDEFINED
public static Effect.RestartEnum[] values()
for (Effect.RestartEnum c : Effect.RestartEnum.values()) System.out.println(c);
public static Effect.RestartEnum 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 nullpublic String getValue()
public String toString()
toString
in class Enum<Effect.RestartEnum>
public static Effect.RestartEnum fromValue(String text)
Copyright © 2022. All rights reserved.