Enum AnswerType
- java.lang.Object
-
- java.lang.Enum<AnswerType>
-
- com.novomind.ecom.api.imail.model.AnswerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnswerType>
public enum AnswerType extends java.lang.Enum<AnswerType>
The AnswerType specifies the different operation types available during outgoing message processing.- Since:
- 10.0.42
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMPAIGN
The type CAMPAIGN represents an automatic generated campaign message that has been placed on the outgoing queue to be sent to it's recipient.CONFIRMATION
The type CONFIRMATION represents an automatic confirmation message to the customer.DEFAULT
The type DEFAULT represents the ticket's answer, that is being sent back to the customer and at the same time causes the closure of the ticket.FOLLOWUP
This type represents a follow-up attempt to send the message again.FORWARD
The type FORWARD represents an externally forwarded message that has been placed on the outgoing queue to be sent to it's recipient.INQUIRY
The type INQUIRY represents an externally inquiry message that has been placed on the outgoing queue to be sent to it's recipient.INTERMEDIATE
The type INTERMEDIATE represents an intermediate reply answer to the customer.NOTIFICATION
The type NOTIFICATION represents an automatic generated message that has been placed on the outgoing queue to be sent to it's recipient.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnswerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AnswerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final AnswerType DEFAULT
The type DEFAULT represents the ticket's answer, that is being sent back to the customer and at the same time causes the closure of the ticket. Any unsuccessful attempt to send the message will result in another attempt with the same type DEFAULT.- Since:
- 10.0.42
-
FOLLOWUP
public static final AnswerType FOLLOWUP
This type represents a follow-up attempt to send the message again. The type FOLLOWUP indicates that the DEFAULT answer has already been sent but could not be delivered successfully to the recipient e.g. due to a SMTP transport problem.- Since:
- 10.0.42
-
INTERMEDIATE
public static final AnswerType INTERMEDIATE
The type INTERMEDIATE represents an intermediate reply answer to the customer. Every ticket allows to send multiple intermediate reply messages until the final answer (type DEFAULT) is given to the customer. A message of the type INTERMEDIATE does not cause the closure of the ticket. The ticket remains in backlog.- Since:
- 10.0.42
-
CONFIRMATION
public static final AnswerType CONFIRMATION
The type CONFIRMATION represents an automatic confirmation message to the customer. The confirmation usually is being sent immediately after ticket creation due to the reception of a customer message by an incoming account.- Since:
- 10.0.42
-
NOTIFICATION
public static final AnswerType NOTIFICATION
The type NOTIFICATION represents an automatic generated message that has been placed on the outgoing queue to be sent to it's recipient. Such type of messages can be generated through API functions.- Since:
- 10.0.42
-
CAMPAIGN
public static final AnswerType CAMPAIGN
The type CAMPAIGN represents an automatic generated campaign message that has been placed on the outgoing queue to be sent to it's recipient.- Since:
- 12.9
-
FORWARD
public static final AnswerType FORWARD
The type FORWARD represents an externally forwarded message that has been placed on the outgoing queue to be sent to it's recipient.- Since:
- 11.9
-
INQUIRY
public static final AnswerType INQUIRY
The type INQUIRY represents an externally inquiry message that has been placed on the outgoing queue to be sent to it's recipient.- Since:
- 11.9
-
-
Method Detail
-
values
public static AnswerType[] 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 (AnswerType c : AnswerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnswerType 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 namejava.lang.NullPointerException
- if the argument is null
-
-