public enum Target extends Enum<Target>
Modifier and Type | Method and Description |
---|---|
boolean |
doExport() |
boolean |
doScript() |
static Target |
interpret(boolean script,
boolean export) |
static Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Target EXPORT
public static final Target SCRIPT
public static final Target NONE
public static final Target BOTH
public static Target[] values()
for (Target c : Target.values()) System.out.println(c);
public static Target 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 boolean doExport()
public boolean doScript()
public static Target interpret(boolean script, boolean export)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.