public static enum Field.Type extends Enum<Field.Type>
Map of TestRail field types to their corresponding Java types:
STRING -- java.lang.String INTEGER -- java.lang.Integer TEXT -- java.lang.String URL -- java.lang.String CHECKBOX -- java.lang.Boolean DROPDOWN -- java.lang.String USER -- java.lang.Integer DATE -- java.lang.String MILESTONE -- java.lang.Integer STEPS -- java.util.List<Field.Step> STEP_RESULTS -- java.util.List<Field.StepResult> MULTI_SELECT -- java.util.List
| Enum Constant and Description |
|---|
CHECKBOX |
DATE |
DROPDOWN |
INTEGER |
MILESTONE |
MULTI_SELECT |
STEP_RESULTS |
STEPS |
STRING |
TEXT |
UNKNOWN |
URL |
USER |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Field.Config.Options> |
getOptionsClass() |
static Field.Type |
getType(int typeId) |
com.fasterxml.jackson.core.type.TypeReference<?> |
getTypeReference() |
static Field.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Field.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Field.Type UNKNOWN
public static final Field.Type STRING
public static final Field.Type INTEGER
public static final Field.Type TEXT
public static final Field.Type URL
public static final Field.Type CHECKBOX
public static final Field.Type DROPDOWN
public static final Field.Type USER
public static final Field.Type DATE
public static final Field.Type MILESTONE
public static final Field.Type STEPS
public static final Field.Type STEP_RESULTS
public static final Field.Type MULTI_SELECT
public static Field.Type[] values()
for (Field.Type c : Field.Type.values()) System.out.println(c);
public static Field.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Field.Type getType(int typeId)
@Generated(value="lombok") public Class<? extends Field.Config.Options> getOptionsClass()
@Generated(value="lombok") public com.fasterxml.jackson.core.type.TypeReference<?> getTypeReference()
Copyright © 2017. All rights reserved.