org.drools.guvnor.client.widgets.drools.explorer
Enum PackageDisplayMode
java.lang.Object
java.lang.Enum<PackageDisplayMode>
org.drools.guvnor.client.widgets.drools.explorer.PackageDisplayMode
- All Implemented Interfaces:
- Serializable, Comparable<PackageDisplayMode>
public enum PackageDisplayMode
- extends Enum<PackageDisplayMode>
ALL_PACKAGES
public static final PackageDisplayMode ALL_PACKAGES
JUST_LOCAL_PACKAGE
public static final PackageDisplayMode JUST_LOCAL_PACKAGE
values
public static PackageDisplayMode[] 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 (PackageDisplayMode c : PackageDisplayMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PackageDisplayMode 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 name
NullPointerException
- if the argument is null
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.