public enum MBeansOption extends Enum<MBeansOption> implements SingleValueKieBaseOption
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the mbeans option
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName() |
boolean |
isEnabled() |
static boolean |
isEnabled(String value) |
static MBeansOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MBeansOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MBeansOption ENABLED
public static final MBeansOption DISABLED
public static final String PROPERTY_NAME
public static MBeansOption[] values()
for (MBeansOption c : MBeansOption.values()) System.out.println(c);
public static MBeansOption 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 getPropertyName()
getPropertyName
in interface Option
public boolean isEnabled()
public static boolean isEnabled(String value)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.