public static enum DriverScript.Kind extends Enum<DriverScript.Kind>
Enum Constant and Description |
---|
DRAIN
Drain drivers.
|
SOURCE
Source drivers.
|
Modifier and Type | Field and Description |
---|---|
String |
prefix
Property key prefix for this kind.
|
Modifier and Type | Method and Description |
---|---|
abstract DriverScript.Kind |
opposite()
Returns the opposite kind.
|
static DriverScript.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriverScript.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriverScript.Kind SOURCE
public static final DriverScript.Kind DRAIN
public final String prefix
public static DriverScript.Kind[] values()
for (DriverScript.Kind c : DriverScript.Kind.values()) System.out.println(c);
public static DriverScript.Kind 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 abstract DriverScript.Kind opposite()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.