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