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