Package jp.vmi.selenium.runner.model
Enum ArgTypes
- java.lang.Object
-
- java.lang.Enum<ArgTypes>
-
- jp.vmi.selenium.runner.model.ArgTypes
-
- All Implemented Interfaces:
Serializable,Comparable<ArgTypes>
public enum ArgTypes extends Enum<ArgTypes>
Argument types. This definition is generated from ArgTypes.js by "tools/convert-ide-command.rb".
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERT_TEXTalert textANSWERanswerARRAY_VARIABLE_NAMEarray variable nameATTRIBUTE_LOCATORattribute locatorCONDITIONAL_EXPRESSIONconditional expressionCOORDcoord stringCSS_LOCATORcss locatorEXPECTED_VALUEexpected valueEXPRESSIONexpressionFORM_LOCATORform locatorHANDLEwindow handleITERATOR_VARIABLE_NAMEiterator variable nameJSONjsonKEY_SEQUENCEkey sequenceLOCATORlocatorLOCATOR_OF_DRAG_DESTINATION_OBJECTlocator of drag destination objectLOCATOR_OF_OBJECT_TO_BE_DRAGGEDlocator of object to be draggedLOOP_LIMITloop limitMESSAGEmessageNO_ARGno argumentOPTION_LOCATORoptionPATTERNtextREGIONregionRESOLUTIONresolutionSCRIPTscriptSELECT_LOCATORselect locatorTEST_CASEtest caseTEXTtextTIMEStimesURLurlVALUEvalueVARIABLE_NAMEvariable nameWAIT_TIMEwait timeXPATHxpath
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get description.StringgetId()Get id.StringgetName()Get name.static ArgTypeslookup(String id)Lookup ArgTypes from string.static ArgTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static ArgTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ARG
public static final ArgTypes NO_ARG
no argument
-
CSS_LOCATOR
public static final ArgTypes CSS_LOCATOR
css locator
-
ALERT_TEXT
public static final ArgTypes ALERT_TEXT
alert text
-
ANSWER
public static final ArgTypes ANSWER
answer
-
ATTRIBUTE_LOCATOR
public static final ArgTypes ATTRIBUTE_LOCATOR
attribute locator
-
ARRAY_VARIABLE_NAME
public static final ArgTypes ARRAY_VARIABLE_NAME
array variable name
-
CONDITIONAL_EXPRESSION
public static final ArgTypes CONDITIONAL_EXPRESSION
conditional expression
-
COORD
public static final ArgTypes COORD
coord string
-
EXPECTED_VALUE
public static final ArgTypes EXPECTED_VALUE
expected value
-
EXPRESSION
public static final ArgTypes EXPRESSION
expression
-
FORM_LOCATOR
public static final ArgTypes FORM_LOCATOR
form locator
-
HANDLE
public static final ArgTypes HANDLE
window handle
-
ITERATOR_VARIABLE_NAME
public static final ArgTypes ITERATOR_VARIABLE_NAME
iterator variable name
-
JSON
public static final ArgTypes JSON
json
-
KEY_SEQUENCE
public static final ArgTypes KEY_SEQUENCE
key sequence
-
LOCATOR
public static final ArgTypes LOCATOR
locator
-
LOCATOR_OF_DRAG_DESTINATION_OBJECT
public static final ArgTypes LOCATOR_OF_DRAG_DESTINATION_OBJECT
locator of drag destination object
-
LOCATOR_OF_OBJECT_TO_BE_DRAGGED
public static final ArgTypes LOCATOR_OF_OBJECT_TO_BE_DRAGGED
locator of object to be dragged
-
LOOP_LIMIT
public static final ArgTypes LOOP_LIMIT
loop limit
-
MESSAGE
public static final ArgTypes MESSAGE
message
-
OPTION_LOCATOR
public static final ArgTypes OPTION_LOCATOR
option
-
PATTERN
public static final ArgTypes PATTERN
text
-
REGION
public static final ArgTypes REGION
region
-
RESOLUTION
public static final ArgTypes RESOLUTION
resolution
-
SCRIPT
public static final ArgTypes SCRIPT
script
-
SELECT_LOCATOR
public static final ArgTypes SELECT_LOCATOR
select locator
-
TEST_CASE
public static final ArgTypes TEST_CASE
test case
-
TEXT
public static final ArgTypes TEXT
text
-
TIMES
public static final ArgTypes TIMES
times
-
URL
public static final ArgTypes URL
url
-
VALUE
public static final ArgTypes VALUE
value
-
VARIABLE_NAME
public static final ArgTypes VARIABLE_NAME
variable name
-
WAIT_TIME
public static final ArgTypes WAIT_TIME
wait time
-
XPATH
public static final ArgTypes XPATH
xpath
-
-
Method Detail
-
values
public static ArgTypes[] 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 (ArgTypes c : ArgTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArgTypes valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
lookup
public static ArgTypes lookup(String id)
Lookup ArgTypes from string.- Parameters:
id- id.- Returns:
- ArgTypes.
-
getId
public String getId()
Get id.- Returns:
- id.
-
getName
public String getName()
Get name.- Returns:
- name.
-
getDescription
public String getDescription()
Get description.- Returns:
- description.
-
-