public enum ResourceScope extends Enum<ResourceScope>
| Modifier and Type | Method and Description |
|---|---|
ResourceId |
create(String name)
Returns a new
ResourceId scoped with this enum instance. |
static ResourceScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceScope SHARED
public static final ResourceScope PORTAL
public static final ResourceScope PORTLET
public static final ResourceScope GROUP
public static ResourceScope[] values()
for (ResourceScope c : ResourceScope.values()) System.out.println(c);
public static ResourceScope 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 ResourceId create(String name)
ResourceId scoped with this enum instance.name - the name to wrapCopyright © 2016 JBoss by Red Hat. All Rights Reserved.