public enum RequiredCapability extends Enum<RequiredCapability> implements org.wildfly.clustering.service.Requirement
Enum Constant and Description |
---|
SINGLETON_POLICY |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static RequiredCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequiredCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequiredCapability SINGLETON_POLICY
public static RequiredCapability[] values()
for (RequiredCapability c : RequiredCapability.values()) System.out.println(c);
public static RequiredCapability 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 String getName()
getName
in interface org.wildfly.clustering.service.Requirement
Copyright © 2016 JBoss by Red Hat. All rights reserved.