Enum AgentHomeTabBehavior.SelectionType
- java.lang.Object
-
- java.lang.Enum<AgentHomeTabBehavior.SelectionType>
-
- com.novomind.ecom.api.imail.agent.frontend.home.AgentHomeTabBehavior.SelectionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AgentHomeTabBehavior.SelectionType>
- Enclosing class:
- AgentHomeTabBehavior
public static enum AgentHomeTabBehavior.SelectionType extends java.lang.Enum<AgentHomeTabBehavior.SelectionType>
- Since:
- 12.14
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
default - no special behaviour.SELECTED
the tab will be selected automatically when the home section is toggled by the agent for the first time.SELECTED_ON_LOGON
the home section will be toggled automatically on agent logon and the tab will be selected.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AgentHomeTabBehavior.SelectionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AgentHomeTabBehavior.SelectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AgentHomeTabBehavior.SelectionType NONE
default - no special behaviour.- Since:
- 12.14
-
SELECTED
public static final AgentHomeTabBehavior.SelectionType SELECTED
the tab will be selected automatically when the home section is toggled by the agent for the first time.- Since:
- 12.14
-
SELECTED_ON_LOGON
public static final AgentHomeTabBehavior.SelectionType SELECTED_ON_LOGON
the home section will be toggled automatically on agent logon and the tab will be selected.- Since:
- 12.14
-
-
Method Detail
-
values
public static AgentHomeTabBehavior.SelectionType[] 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 (AgentHomeTabBehavior.SelectionType c : AgentHomeTabBehavior.SelectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentHomeTabBehavior.SelectionType 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
-
-