Package ddf.catalog.pubsub
Enum Class EventProcessorImpl.DateType
- All Implemented Interfaces:
Serializable,Comparable<EventProcessorImpl.DateType>,Constable
- Enclosing class:
- EventProcessorImpl
Enumeration of metacard Date attributes that can be used for subscriptions. In order to use
metacard attribute names for getting DateType values,
getDateType(String)
should be used. To get the metacard attribute name for a DateType, getAttributeName() should be used, where "dt" is an instance of DateType.
The standard valueOf(String) and Enum.name() enum methods will
not use the names of the attributes as they appear on the metacard, but as they appear in the
enum class as defined below.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EventProcessorImpl.DateTypegetDateType(String attr) static EventProcessorImpl.DateTypeReturns the enum constant of this class with the specified name.static EventProcessorImpl.DateType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODIFIED
-
EFFECTIVE
-
EXPIRATION
-
CREATED
-
METACARD_CREATED
-
METACARD_MODIFIED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getAttributeName
-
getDateType
-