|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CreateDeletePolicy> org.rhq.core.domain.resource.CreateDeletePolicy
public enum CreateDeletePolicy
Indicates whether or not resource of a particular type can be created and/or deleted by the user. More specifically,
through the ResourceFactoryAgentService
inteface into the plugin container.
Enum Constant Summary | |
---|---|
BOTH
Resources of this type can be both created and deleted by the user. |
|
CREATE_ONLY
Resources of this type may be created by users, but not deleted. |
|
DELETE_ONLY
Resources of this type may be deleted by users, but not created. |
|
NEITHER
Resources of this type can neither be created nor deleted by the user. |
Method Summary | |
---|---|
static CreateDeletePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CreateDeletePolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CreateDeletePolicy NEITHER
public static final CreateDeletePolicy CREATE_ONLY
public static final CreateDeletePolicy DELETE_ONLY
public static final CreateDeletePolicy BOTH
Method Detail |
---|
public static CreateDeletePolicy[] values()
for (CreateDeletePolicy c : CreateDeletePolicy.values()) System.out.println(c);
public static CreateDeletePolicy valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |