Class DataCaptor
- java.lang.Object
 - 
- ru.tinkoff.qa.neptune.core.api.event.firing.Captor<T,StringBuilder>
 - 
- ru.tinkoff.qa.neptune.core.api.event.firing.captors.StringCaptor<T>
 - 
- ru.tinkoff.qa.neptune.core.api.event.firing.collections.IterableCaptor<List<String>>
 - 
- ru.tinkoff.qa.neptune.database.abstractions.captors.DataCaptor
 
 
 
 
 
- 
public class DataCaptor extends IterableCaptor<List<String>>
 
- 
- 
Constructor Summary
Constructors Constructor Description DataCaptor() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCaptured(Object toBeCaptured)This method is supposed to be used to convert an object to a value that can be logged and reported.StringBuildergetData(List<String> caught)Gets/transforms data from a caught object to inject into log/report. 
 - 
 
- 
- 
Method Detail
- 
getData
public StringBuilder getData(List<String> caught)
Description copied from class:CaptorGets/transforms data from a caught object to inject into log/report.- Overrides:
 getDatain classIterableCaptor<List<String>>- Parameters:
 caught- is a caught object to get data for the injecting.- Returns:
 - S produced data to be injected to a log/report
 
 
- 
getCaptured
public List<String> getCaptured(Object toBeCaptured)
Description copied from class:CaptorThis method is supposed to be used to convert an object to a value that can be logged and reported. When it is not possible then it should returnnull.- Overrides:
 getCapturedin classIterableCaptor<List<String>>- Parameters:
 toBeCaptured- is an object to get value that is supposed to be captured and logged.- Returns:
 - a value to be captured and logged or 
null 
 
 - 
 
 -