org.addsimplicity.anicetus.entity
Enum EventFields
java.lang.Object
java.lang.Enum<EventFields>
org.addsimplicity.anicetus.entity.EventFields
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EventFields>
public enum EventFields
- extends java.lang.Enum<EventFields>
The EventFields define the telemetry properties that are added by the
TelemetryEvent.
- Author:
- Dan Pritchett (driveawedge@yahoo.com)
- See Also:
org.addsimplicty.anicetus.entity.TelemetryEvent
|
Enum Constant Summary |
Type
The type of the event as defined by the application. |
|
Method Summary |
static EventFields |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EventFields[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Type
public static final EventFields Type
- The type of the event as defined by the application.
values
public static final EventFields[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(EventFields c : EventFields.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static EventFields valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 2009 Add Simplicity. All Rights Reserved.