Package thredds.inventory
Enum CollectionUpdateType
- java.lang.Object
-
- java.lang.Enum<CollectionUpdateType>
-
- thredds.inventory.CollectionUpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<CollectionUpdateType>
public enum CollectionUpdateType extends Enum<CollectionUpdateType>
Messages to update a collection- Since:
- 12/23/13
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CollectionUpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CollectionUpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
always
public static final CollectionUpdateType always
-
test
public static final CollectionUpdateType test
-
testIndexOnly
public static final CollectionUpdateType testIndexOnly
-
nocheck
public static final CollectionUpdateType nocheck
-
never
public static final CollectionUpdateType never
-
last
public static final CollectionUpdateType last
-
-
Method Detail
-
values
public static CollectionUpdateType[] 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 (CollectionUpdateType c : CollectionUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CollectionUpdateType 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
-
-