Package org.eclipse.steady.core.util
Enum CoreConfiguration.ConnectType
- java.lang.Object
-
- java.lang.Enum<CoreConfiguration.ConnectType>
-
- org.eclipse.steady.core.util.CoreConfiguration.ConnectType
-
- All Implemented Interfaces:
Serializable,Comparable<CoreConfiguration.ConnectType>
- Enclosing class:
- CoreConfiguration
public static enum CoreConfiguration.ConnectType extends Enum<CoreConfiguration.ConnectType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFFLINEREAD_ONLYREAD_WRITE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CoreConfiguration.ConnectTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CoreConfiguration.ConnectType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFFLINE
public static final CoreConfiguration.ConnectType OFFLINE
-
READ_ONLY
public static final CoreConfiguration.ConnectType READ_ONLY
-
READ_WRITE
public static final CoreConfiguration.ConnectType READ_WRITE
-
-
Method Detail
-
values
public static CoreConfiguration.ConnectType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoreConfiguration.ConnectType c : CoreConfiguration.ConnectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreConfiguration.ConnectType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-