|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LoaderType>
org.easetech.easytest.loader.LoaderType
public enum LoaderType
An Enum identifying the type of loader to be used for loading the data. A loader type can identify a loader to be framework based loader(CSV , Excel or XML) or it can identify the loader to be user defined loader(CUSTOM). Note that a user can provide a loader whose loaderType is already supported by the framework and still choose to mark it CUSTOM. In such a scenario, the framework will use the Loader provided by the user to load the test data.
| Enum Constant Summary | |
|---|---|
CSV
Identifies that the type of file is a framework based CSV file. |
|
CUSTOM
Identifies that the type of file is a user defined custom type. |
|
EXCEL
Identifies that the type of file is a framework based EXCEL file. |
|
NONE
Identifies that the user has not specified any specific loader type. |
|
XML
Identifies that the type of file is a framework based XML file. |
|
| Method Summary | |
|---|---|
static LoaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LoaderType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LoaderType CSV
CSVDataLoader
public static final LoaderType XML
public static final LoaderType EXCEL
public static final LoaderType CUSTOM
DataLoader annotation.
public static final LoaderType NONE
DataLoader's loader attribute declaration.
| Method Detail |
|---|
public static LoaderType[] values()
for (LoaderType c : LoaderType.values()) System.out.println(c);
public static LoaderType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||