Package dyntabs.ai.activity
Enum Class UserActivityEvent.Type
- All Implemented Interfaces:
Serializable,Comparable<UserActivityEvent.Type>,Constable
- Enclosing class:
UserActivityEvent
The coarse category of a user act.
Analogy: the colour-coded tabs on a logbook — you can flip straight to all the "navigation" entries or all the "notes" without reading each line.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe user performed a domain action with a verb (approve, cancel, ship, recalculate…).Anything that doesn't fit the above;UserActivityEvent.verb()should describe it.The user moved their focus (opened a tab, selected a record, navigated to a screen).The user authored free text attached to something (a comment, an annotation).The user searched or filtered (UserActivityEvent.text()carries the query). -
Method Summary
Modifier and TypeMethodDescriptionstatic UserActivityEvent.TypeReturns the enum constant of this class with the specified name.static UserActivityEvent.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAVIGATION
The user moved their focus (opened a tab, selected a record, navigated to a screen). -
BUSINESS_ACTION
The user performed a domain action with a verb (approve, cancel, ship, recalculate…). -
NOTE
The user authored free text attached to something (a comment, an annotation). -
SEARCH
The user searched or filtered (UserActivityEvent.text()carries the query). -
CUSTOM
Anything that doesn't fit the above;UserActivityEvent.verb()should describe it.
-
-
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
-