public enum ObjectStrategy extends java.lang.Enum<ObjectStrategy>
| Enum Constant and Description |
|---|
MAINOBJECT_ON_EXPORTS |
MAINOBJECT_ON_THIS |
SINGLE |
SINGLE_OR_EXPORTED_CONSTRUCTOR |
| Modifier and Type | Method and Description |
|---|---|
static ObjectStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectStrategy SINGLE
public static final ObjectStrategy SINGLE_OR_EXPORTED_CONSTRUCTOR
public static final ObjectStrategy MAINOBJECT_ON_THIS
public static final ObjectStrategy MAINOBJECT_ON_EXPORTS
public static ObjectStrategy[] values()
for (ObjectStrategy c : ObjectStrategy.values()) System.out.println(c);
public static ObjectStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null