public enum SingletonMetric extends Enum<SingletonMetric> implements Metric<Singleton>
| Enum Constant and Description |
|---|
IS_PRIMARY |
PRIMARY_PROVIDER |
PROVIDERS |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.as.controller.AttributeDefinition |
getDefinition() |
static SingletonMetric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetName, resolveModelAttributeexecutepublic static final SingletonMetric IS_PRIMARY
public static final SingletonMetric PRIMARY_PROVIDER
public static final SingletonMetric PROVIDERS
public static SingletonMetric[] values()
for (SingletonMetric c : SingletonMetric.values()) System.out.println(c);
public static SingletonMetric 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 org.jboss.as.controller.AttributeDefinition getDefinition()
getDefinition in interface Definable<org.jboss.as.controller.AttributeDefinition>Copyright © 2020 JBoss by Red Hat. All rights reserved.