Skip navigation links
A C D E F G I J K L P R S T W X Y 

A

addCustomTypes(DefaultCustomType) - Method in interface com.paypal.selion.platform.dataprovider.ExcelDataProvider
 
addCustomTypes(DefaultCustomType) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
 

C

com.paypal.selion.platform.dataprovider - package com.paypal.selion.platform.dataprovider
A collection of interfaces which provides declaration of SeLion data providers.
com.paypal.selion.platform.dataprovider.filter - package com.paypal.selion.platform.dataprovider.filter
Filters which can be applied to any TestNG DataProvider data source in SeLion.
com.paypal.selion.platform.dataprovider.impl - package com.paypal.selion.platform.dataprovider.impl
A collection of classes which load external data sources for data driven test scenarios.
com.paypal.selion.platform.dataprovider.pojos - package com.paypal.selion.platform.dataprovider.pojos
POJOS for SeLion's XmlDataProvider implementation
convertJsonStringToObject(String, Type) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Utility method to convert raw Json strings into a type.
convertToObjectArray(Object) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Converts any object into 2 dimensional array representing TestNG DataProvider.
CustomKeyFilter - Class in com.paypal.selion.platform.dataprovider.filter
This filter implementation filters the data based on the filter key and its corresponding values provided.
CustomKeyFilter(String, String) - Constructor for class com.paypal.selion.platform.dataprovider.filter.CustomKeyFilter
 

D

DataProviderException - Exception in com.paypal.selion.platform.dataprovider
This Exception class is specific to data reader.
DataProviderException() - Constructor for exception com.paypal.selion.platform.dataprovider.DataProviderException
 
DataProviderException(String) - Constructor for exception com.paypal.selion.platform.dataprovider.DataProviderException
 
DataProviderException(Throwable) - Constructor for exception com.paypal.selion.platform.dataprovider.DataProviderException
 
DataProviderException(String, Throwable) - Constructor for exception com.paypal.selion.platform.dataprovider.DataProviderException
 
DataProviderFactory - Class in com.paypal.selion.platform.dataprovider
This factory class is responsible for providing the data provider implementation instance based on data type.
DataProviderFilter - Interface in com.paypal.selion.platform.dataprovider.filter
This Interface provides the facility to provide the custom filtering logic based on the needs.
DataProviderHelper - Class in com.paypal.selion.platform.dataprovider.impl
A utility class intended to serve as a helper class for miscellaneous operations being done by ExcelDataProviderImpl and YamlDataProviderImpl and XmlDataProviderImpl.
DataResource - Interface in com.paypal.selion.platform.dataprovider
This interface declare the prototype for data source which will be used in DataProvider Impl.
DefaultCustomType - Class in com.paypal.selion.platform.dataprovider.impl
This class represents a custom type that should automatically be handled.
DefaultCustomType(Object, Method) - Constructor for class com.paypal.selion.platform.dataprovider.impl.DefaultCustomType
 
DefaultCustomType(Class<?>, Method) - Constructor for class com.paypal.selion.platform.dataprovider.impl.DefaultCustomType
Use this constructor when you have static method that is involved in creating instances.
DefaultCustomType(Constructor<?>) - Constructor for class com.paypal.selion.platform.dataprovider.impl.DefaultCustomType
Use this constructor when you would like to have a new object created via a custom constructor.

E

ExcelDataProvider - Interface in com.paypal.selion.platform.dataprovider
This interface defines prototype to implement excel data provider implementation to parse excel format data file.
ExcelDataProviderImpl - Class in com.paypal.selion.platform.dataprovider.impl
This class provide several methods to retrieve test data from an Excel workbook.
ExcelDataProviderImpl(DataResource) - Constructor for class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
The constructor will use the path name and the file name of the Excel workbook to initialize the input stream before the stream is being used by several methods to get the test data from the Excel workbook.
excelReader - Variable in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
 

F

FileSystemResource - Class in com.paypal.selion.platform.dataprovider.impl
FileSystemResource defines the file name of the data source to be used for data provider consumption.
FileSystemResource(String, Class<?>) - Constructor for class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
Use this constructor when a data source file can be found as a resource and contains a user-defined object.
FileSystemResource(String) - Constructor for class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
Use this constructor when a data source file can be found as a resource and does NOT contain a user-defined object.
filter(Object) - Method in class com.paypal.selion.platform.dataprovider.filter.CustomKeyFilter
This function identifies whether the object falls in the filtering criteria or not based on the filterKeyName and its corresponding filterKeyValues.
filter(Object) - Method in interface com.paypal.selion.platform.dataprovider.filter.DataProviderFilter
This function identifies whether the given object falls in the injected filter criteria.
filter(Object) - Method in class com.paypal.selion.platform.dataprovider.filter.SimpleIndexInclusionFilter
This function identifies whether the object falls in the filtering criteria or not based on the indexes provided.
filterToListOfObjects(Object, DataProviderFilter) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Converts in particular LinkedHashMap of Objects, ArrayList of Objects, Array of Object into ArrayList after applying the given filter.

G

getAllData() - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This function will read the whole excel sheet and map the data into two-dimensional array of object which is compatible with TestNG DataProvider to provide real test data driven development.
getAllData() - Method in class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
Parses the JSON file as a 2D Object array for TestNg dataprovider usage.
getAllData() - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Generates a two dimensional array for TestNG DataProvider from the XML data.
getAllData() - Method in class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
Converts a yaml file into an Object 2D array for TestNG Dataprovider consumption.
getAllData() - Method in interface com.paypal.selion.platform.dataprovider.SeLionDataProvider
Generates a two dimensional array for TestNG DataProvider from the data file.
getAllDataMultipleArgs(Object[][]...) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Converts multiple data from multiple 2D DataProvider arrays of various types into one DataProvider 2D array.
getAllDataMultipleArgsFromYAML(List<DataResource>) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Gets yaml data for tests that require multiple arguments.
getAllKeyValueData() - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Generates a two dimensional array for TestNG DataProvider from the XML data representing a map of name value collection.
getAllKeyValueData() - Method in interface com.paypal.selion.platform.dataprovider.XmlDataProvider
Generates a two dimensional array for TestNG DataProvider from the XML data representing a map of name value collection.
getAllRawExcelRows(String, boolean) - Method in interface com.paypal.selion.platform.dataprovider.ExcelDataProvider
Get all excel rows from a specified sheet.
getAllRawExcelRows(String, boolean) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
Get all excel rows from a specified sheet.
getCls() - Method in interface com.paypal.selion.platform.dataprovider.DataResource
Fetch the user defined POJO class
getCls() - Method in class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
 
getCls() - Method in class com.paypal.selion.platform.dataprovider.impl.InputStreamResource
 
getCustomTypeClass() - Method in class com.paypal.selion.platform.dataprovider.impl.DefaultCustomType
 
getDataAsHashtable() - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This function will read all rows of a specified excel sheet and store the data to a hash table.
getDataAsHashtable() - Method in class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
A utility method to give out JSON data as HashTable.
getDataAsHashtable() - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Gets xml data and returns in a hashtable instead of an Object 2D array.
getDataAsHashtable() - Method in class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
Gets yaml data and returns in a hashtable instead of an Object 2D array.
getDataAsHashtable() - Method in interface com.paypal.selion.platform.dataprovider.SeLionDataProvider
A utility method to give output data as HashTable.
getDataByFilter(DataProviderFilter) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
Gets data from Excel sheet by applying the given filter.
getDataByFilter(DataProviderFilter) - Method in class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
Gets JSON data from a resource by applying the given filter.
getDataByFilter(DataProviderFilter) - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Generates an object array in iterator as TestNG DataProvider from the XML data filtered per dataFilter.
getDataByFilter(DataProviderFilter) - Method in class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
Gets yaml data by applying the given filter.
getDataByFilter(DataProviderFilter) - Method in interface com.paypal.selion.platform.dataprovider.SeLionDataProvider
Generates an object array in iterator as TestNG DataProvider from the data filtered per dataFilter.
getDataByIndex(String) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This function will use the input string representing the indexes to collect and return the correct excel sheet data rows as two dimensional object to be used as TestNG DataProvider.
getDataByIndex(int[]) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This function will use the input string representing the indexes to collect and return the correct excel sheet data rows as two dimensional object to be used as TestNG DataProvider.
getDataByIndex(String) - Method in class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
Gets JSON data from a resource for the specified indexes.
getDataByIndex(int[]) - Method in class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
Gets JSON data from a resource for the specified indexes.
getDataByIndex(String) - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Generates an object array in iterator as TestNG DataProvider from the XML data filtered per given indexes string.
getDataByIndex(int[]) - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Generates an object array in iterator as TestNG DataProvider from the XML data filtered per given indexes.
getDataByIndex(String) - Method in class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
Gets yaml data for requested indexes.
getDataByIndex(int[]) - Method in class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
Generates an object array in iterator as TestNG DataProvider from the YAML data filtered per given indexes.
getDataByIndex(String) - Method in interface com.paypal.selion.platform.dataprovider.SeLionDataProvider
Generates an object array in iterator as TestNG DataProvider from the data filtered per given indexes string.
getDataByIndex(int[]) - Method in interface com.paypal.selion.platform.dataprovider.SeLionDataProvider
Generates an object array in iterator as TestNG DataProvider from the data filtered per given indexes.
getDataByKeys(Map<?, ?>, String[]) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Filters a map by keys specified as a list.
getDataByKeys(String[]) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This function will use the input string representing the keys to collect and return the correct excel sheet data rows as two dimensional object to be used as TestNG DataProvider.
getDataByKeys(String[]) - Method in class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
 
getDataByKeys(String[]) - Method in class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
Generates a two dimensional array for TestNG DataProvider from the XML data representing a map of name value collection filtered by keys.
getDataByKeys(String[]) - Method in class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
Gets yaml data by key identifiers.
getDataByKeys(String[]) - Method in interface com.paypal.selion.platform.dataprovider.SeLionDataProvider
Generates a two dimensional array for TestNG DataProvider from the data representing a map of name value collection filtered by keys.
getDataProvider(DataResource) - Static method in class com.paypal.selion.platform.dataprovider.DataProviderFactory
Load the Data provider implementation for the data file type
getHeaderRowContents(String, int) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
Utility to get the header row contents of the excel sheet
getInputStream() - Method in interface com.paypal.selion.platform.dataprovider.DataResource
Load the input stream of the data file
getInputStream() - Method in class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
 
getInputStream() - Method in class com.paypal.selion.platform.dataprovider.impl.InputStreamResource
 
getItems() - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValueMap
 
getKey() - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 
getList() - Method in class com.paypal.selion.platform.dataprovider.impl.Wrapper
Returns list
getMap() - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValueMap
 
getRowContents(String, int, int) - Method in interface com.paypal.selion.platform.dataprovider.ExcelDataProvider
Using the specified rowIndex to search for the row from the specified Excel sheet, then return the row contents in a list of string format.
getRowContents(String, int, int) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
Using the specified rowIndex to search for the row from the specified Excel sheet, then return the row contents in a list of string format.
getSingleExcelRow(String) - Method in interface com.paypal.selion.platform.dataprovider.ExcelDataProvider
This method fetches a specific row from an excel sheet which can be identified using a key and returns the data as an Object which can be cast back into the user's actual data type.
getSingleExcelRow(int) - Method in interface com.paypal.selion.platform.dataprovider.ExcelDataProvider
This method can be used to fetch a particular row from an excel sheet.
getSingleExcelRow(String) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This method fetches a specific row from an excel sheet which can be identified using a key and returns the data as an Object which can be cast back into the user's actual data type.
getSingleExcelRow(int) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This method can be used to fetch a particular row from an excel sheet.
getSingleExcelRow(Object, String, boolean) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
This method fetches a specific row from an excel sheet which can be identified using a key and returns the data as an Object which can be cast back into the user's actual data type.
getSingleExcelRow(Object, int, boolean) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
 
getType() - Method in interface com.paypal.selion.platform.dataprovider.DataResource
Fetch the data file extension
getType() - Method in class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
 
getType() - Method in class com.paypal.selion.platform.dataprovider.impl.InputStreamResource
 
getValue() - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 
getXpathMap() - Method in class com.paypal.selion.platform.dataprovider.impl.XmlFileSystemResource
Gets the map of String representing XPath and the type represented by the node evaluated by the XPath.
getXpathMap() - Method in class com.paypal.selion.platform.dataprovider.impl.XmlInputStreamResource
Gets the map of String representing XPath and the type represented by the node evaluated by the XPath.
getXpathMap() - Method in interface com.paypal.selion.platform.dataprovider.XmlDataSource
Gets the map of String representing XPath and the type represented by the node evaluated by the XPath.

I

InputStreamResource - Class in com.paypal.selion.platform.dataprovider.impl
InputStreamResource defines input stream of the data source to be used for data provider consumption.
InputStreamResource(InputStream, Class<?>, String) - Constructor for class com.paypal.selion.platform.dataprovider.impl.InputStreamResource
 
InputStreamResource(InputStream, String) - Constructor for class com.paypal.selion.platform.dataprovider.impl.InputStreamResource
 
instantiateObject(Object...) - Method in class com.paypal.selion.platform.dataprovider.impl.DefaultCustomType
 

J

JsonDataProviderImpl - Class in com.paypal.selion.platform.dataprovider.impl
This class takes care of parsing the test data given in the JSON format using the GSON library.
JsonDataProviderImpl(DataResource) - Constructor for class com.paypal.selion.platform.dataprovider.impl.JsonDataProviderImpl
 

K

KeyValueMap - Class in com.paypal.selion.platform.dataprovider.pojos
Mappable class for a collection of KeyValuePair
KeyValueMap() - Constructor for class com.paypal.selion.platform.dataprovider.pojos.KeyValueMap
 
KeyValuePair - Class in com.paypal.selion.platform.dataprovider.pojos
Standard mappable class for name value collection of String key and String value.
KeyValuePair() - Constructor for class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 
KeyValuePair(String, String) - Constructor for class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 

L

logger - Static variable in class com.paypal.selion.platform.dataprovider.filter.CustomKeyFilter
 
logger - Static variable in class com.paypal.selion.platform.dataprovider.filter.SimpleIndexInclusionFilter
 
logger - Static variable in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
 

P

parseIndexString(String) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
This function will parse the index string into separated individual indexes as needed.
prepareObject(Object, Field[], List<String>, Map<String, String>) - Method in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
Currently this function will handle these data types: 1.

R

readListByXpath(Object, Class<T>, String) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Traverses the object graph by following an XPath expression and returns a list of desired type from object matched at the XPath.
readObjectByXpath(Object, Class<T>, String) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Traverses the object graph by following an XPath expression and returns the desired type from object matched at the XPath.
resource - Variable in class com.paypal.selion.platform.dataprovider.impl.ExcelDataProviderImpl
 

S

SeLionDataProvider - Interface in com.paypal.selion.platform.dataprovider
This interface defines prototype to implement own data provider implementation to parse the specific format data file.
serializeObjectToYamlString(Object) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Use this utility method to print and return a yaml string to help serialize the object passed in.
serializeObjectToYamlStringAsDocuments(Object...) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Use this utility method to print and return a yaml string to help serialize the object passed in as a LinkedHashMap.
serializeObjectToYamlStringAsList(Object...) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Use this utility method to print and return a yaml string to help serialize the object passed in as an ArrayList.
serializeObjectToYamlStringAsMap(Object...) - Static method in class com.paypal.selion.platform.dataprovider.impl.DataProviderHelper
Use this utility method to print and return a yaml string to help serialize the object passed in as multiple documents.
setCls(Class<?>) - Method in interface com.paypal.selion.platform.dataprovider.DataResource
Set the user defined POJO class to map data
setCls(Class<?>) - Method in class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
 
setCls(Class<?>) - Method in class com.paypal.selion.platform.dataprovider.impl.InputStreamResource
 
setItems(List<KeyValuePair>) - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValueMap
 
setKey(String) - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 
setValue(String) - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 
SimpleIndexInclusionFilter - Class in com.paypal.selion.platform.dataprovider.filter
This filter implementation filters data based on the indexes set.
SimpleIndexInclusionFilter(String) - Constructor for class com.paypal.selion.platform.dataprovider.filter.SimpleIndexInclusionFilter
Initializes indexes to be included for filter using a conforming string.
SimpleIndexInclusionFilter(int[]) - Constructor for class com.paypal.selion.platform.dataprovider.filter.SimpleIndexInclusionFilter
Initializes indexes to be included for filter using an array of indexes.

T

toString() - Method in class com.paypal.selion.platform.dataprovider.filter.CustomKeyFilter
 
toString() - Method in class com.paypal.selion.platform.dataprovider.filter.SimpleIndexInclusionFilter
Returns a string representation of the indexes.
toString() - Method in class com.paypal.selion.platform.dataprovider.impl.FileSystemResource
 
toString() - Method in class com.paypal.selion.platform.dataprovider.pojos.KeyValuePair
 

W

Wrapper<T> - Class in com.paypal.selion.platform.dataprovider.impl
This class represents the root of the XML document wrapping a bound type list of generic objects obtained when an XML is unmarshalled.
Wrapper() - Constructor for class com.paypal.selion.platform.dataprovider.impl.Wrapper
Default constructor initializes empty list.
Wrapper(List<T>) - Constructor for class com.paypal.selion.platform.dataprovider.impl.Wrapper
Initializes instance with list.

X

XmlDataProvider - Interface in com.paypal.selion.platform.dataprovider
This interface defines prototype to implement xml data provider implementation to parse the xml format data file.
XmlDataProviderImpl - Class in com.paypal.selion.platform.dataprovider.impl
This class provides several methods to retrieve test data from XML files.
XmlDataProviderImpl(XmlDataSource) - Constructor for class com.paypal.selion.platform.dataprovider.impl.XmlDataProviderImpl
 
XmlDataSource - Interface in com.paypal.selion.platform.dataprovider
This interface declare the prototype for xml data source which will be used in XML DataProvider Impl.
XmlFileSystemResource - Class in com.paypal.selion.platform.dataprovider.impl
Extends FileSystemResource class to support XML file as a DataProvider to be used by XmlDataProviderImpl.
XmlFileSystemResource(String, Class<?>) - Constructor for class com.paypal.selion.platform.dataprovider.impl.XmlFileSystemResource
Constructor to accept full path of XML file, and declared type indicated by cls represented by the XML data.
XmlFileSystemResource(String, Map<String, Class<?>>) - Constructor for class com.paypal.selion.platform.dataprovider.impl.XmlFileSystemResource
Constructor to accept full path of XML file, and multiple declared types at multiple XPaths represented by the XML data.
XmlInputStreamResource - Class in com.paypal.selion.platform.dataprovider.impl
Extends InputStreamResource class to support XML file as a DataProvider to be used by XmlDataProviderImpl.
XmlInputStreamResource(InputStream, Class<?>, String) - Constructor for class com.paypal.selion.platform.dataprovider.impl.XmlInputStreamResource
Constructor to accept input stream of XML file, and multiple declared types at multiple XPaths represented by the XML data.
XmlInputStreamResource(InputStream, Map<String, Class<?>>, String) - Constructor for class com.paypal.selion.platform.dataprovider.impl.XmlInputStreamResource
Constructor to accept input stream of XML file, and multiple declared types at multiple XPaths represented by the XML data.

Y

YamlDataProviderImpl - Class in com.paypal.selion.platform.dataprovider.impl
This class provides several methods to retrieve test data from yaml files.
YamlDataProviderImpl(DataResource) - Constructor for class com.paypal.selion.platform.dataprovider.impl.YamlDataProviderImpl
 
A C D E F G I J K L P R S T W X Y 
Skip navigation links

Copyright © 2016 PayPal Open Source. All rights reserved.