public enum ConnectStrategy extends Enum<ConnectStrategy>
| Enum Constant and Description |
|---|
MULTIPLE_INSTANCES |
SINGLE_INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static ConnectStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectStrategy MULTIPLE_INSTANCES
public static final ConnectStrategy SINGLE_INSTANCE
public static ConnectStrategy[] values()
for (ConnectStrategy c : ConnectStrategy.values()) System.out.println(c);
public static ConnectStrategy 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 nullCopyright © 2010–2015 MuleSoft, Inc.. All rights reserved.