public enum ResourceCategory extends Enum<ResourceCategory>
Enum Constant and Description |
---|
PLATFORM
Possible categories
|
SERVER |
SERVICE |
Modifier and Type | Method and Description |
---|---|
char |
getAbbrev() |
static ResourceCategory |
getByAbbrv(char abbrev) |
String |
getLowerName() |
static List<ResourceCategory> |
getPossibleChildren(ResourceCategory parent) |
static ResourceCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceCategory PLATFORM
public static final ResourceCategory SERVER
public static final ResourceCategory SERVICE
public static ResourceCategory[] values()
for (ResourceCategory c : ResourceCategory.values()) System.out.println(c);
public static ResourceCategory 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 static List<ResourceCategory> getPossibleChildren(ResourceCategory parent)
public char getAbbrev()
public static ResourceCategory getByAbbrv(char abbrev)
public String getLowerName()
Copyright © 2013. All Rights Reserved.