Package com.piketec.tpt.api.steplist
Enum MessageBoxStep.MessageBoxType
- java.lang.Object
-
- java.lang.Enum<MessageBoxStep.MessageBoxType>
-
- com.piketec.tpt.api.steplist.MessageBoxStep.MessageBoxType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MessageBoxStep.MessageBoxType>
- Enclosing interface:
- MessageBoxStep
public static enum MessageBoxStep.MessageBoxType extends java.lang.Enum<MessageBoxStep.MessageBoxType>
A message box has a type (OK,YES/NO, NO BUTTON), depending of its role during the test execution.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageBoxStep.MessageBoxType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessageBoxStep.MessageBoxType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final MessageBoxStep.MessageBoxType OK
The user must confirm the message to close it.
-
YES_NO
public static final MessageBoxStep.MessageBoxType YES_NO
The user must click either "Yes" or "No" to close the message. A result channel is mandatory.
-
NO_BUTTON
public static final MessageBoxStep.MessageBoxType NO_BUTTON
The user must do nothing, the message closes when the termination condition becomes true. For this option, a termination condition is mandatory.
-
-
Method Detail
-
values
public static MessageBoxStep.MessageBoxType[] 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 (MessageBoxStep.MessageBoxType c : MessageBoxStep.MessageBoxType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageBoxStep.MessageBoxType 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
-
-