Enum Class ActivityCode
- All Implemented Interfaces:
Serializable
,Comparable<ActivityCode>
,Constable
,net.tangly.core.codes.Code
Defines the kinds af activities between natural persons.
- talk
- A personal and informal interaction with customer representatives.
- meeting
- A scheduled meeting with customer representatives. THe activity text can be used as meeting protocol.
- An electronic message sent to customer representatives.
- letter
- A physical message sent to customer representatives. Digitalization should reduce letter to a minimum.
- audiocall
- An audio call such as a phone call or a Slack call with customer representatives.
- videocall
- An video call such as a team call or a Slack call with customer representatives.
- chat
- A textual chat interaction through asynchronous communication channel
- campaign
- A direct communication through a compaign. For example a flier, an event invitation or a whitepater is sent to a group of prospects.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
boolean
enabled()
int
id()
static ActivityCode
Returns the enum constant of this class with the specified name.static ActivityCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
talk
-
meeting
-
email
-
letter
-
audiocall
-
videocall
-
chat
-
campaign
-
-
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
-
id
public int id()- Specified by:
id
in interfacenet.tangly.core.codes.Code
-
code
- Specified by:
code
in interfacenet.tangly.core.codes.Code
-
enabled
public boolean enabled()- Specified by:
enabled
in interfacenet.tangly.core.codes.Code
-