Package org.guvnor.ala.ui.model
Enum ProviderTypeStatus
- java.lang.Object
-
- java.lang.Enum<ProviderTypeStatus>
-
- org.guvnor.ala.ui.model.ProviderTypeStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ProviderTypeStatus>
@Portable public enum ProviderTypeStatus extends Enum<ProviderTypeStatus>
Enum for modeling the status for an installed provider type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProviderTypeStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ProviderTypeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final ProviderTypeStatus ENABLED
Enabled provider types are available for creating providers.
-
DISABLED
public static final ProviderTypeStatus DISABLED
Disabled provider types are not available for creating providers.
-
-
Method Detail
-
values
public static ProviderTypeStatus[] 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 (ProviderTypeStatus c : ProviderTypeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProviderTypeStatus 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
-
-