public interface IDataHarvester
Modifier and Type | Method and Description |
---|---|
void |
addHarvestInstruction(com.ibm.rational.test.lt.datacorrelation.execution.harvest.IHarvestRule rule) |
void |
addHarvestInstruction(String propertyName,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
This will add a harvest instruction to the DataHarvester.
|
void |
addHarvestInstruction(String propertyName,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar,
String regex)
This will add a harvest instruction to the DataHarvester.
|
void |
addHarvestInstruction(String propertyName,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar,
String regex,
int maxOcc,
int occ)
This will add a harvest instruction to the DataHarvester.
|
void |
addHarvestInstruction(String propertyName,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar,
String regex,
int maxOcc,
int occ,
boolean removeXMLEntity)
This will add a harvest instruction to the DataHarvester.
|
void |
addHarvestInstruction(String propertyName,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar,
String regex,
int maxOcc,
int occ,
boolean removeXMLEntity,
String name,
RPTEvent behavior,
boolean alwaysLog)
This will add a harvest instruction to the DataHarvester.
|
ArrayList |
getEvents() |
void |
harvestData(Object action)
This function will execute all harvest instructions that are stored in it and
set the values in the DataCorrelationVars.
|
void |
harvestData(Object action,
boolean fcr)
This function will execute all harvest instructions that are stored in it and
set the values in the DataCorrelationVars.
|
void addHarvestInstruction(String propertyName, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar, String regex, int maxOcc, int occ)
propertyName
- - the property in the action that we will harvest from. ex. - URIdcVar
- - the DataCorrelationVar that the harvested data will be saved intoregex
- - the regular expression used to extract the data from the propertyNamemaxOcc
- - the number of occurences for this regex from the beginning of the string til the one we wantocc
- - the number of occ. for this regex from the last harvester in the response stringvoid addHarvestInstruction(String propertyName, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar, String regex, int maxOcc, int occ, boolean removeXMLEntity)
propertyName
- - the property in the action that we will harvest from. ex. - URIdcVar
- - the DataCorrelationVar that the harvested data will be saved intoregex
- - the regular expression used to extract the data from the propertyNamemaxOcc
- - the number of occurences for this regex from the beginning of the string til the one we wantocc
- - the number of occ. for this regex from the last harvester in the response stringremoveXMLEntity
- - after harvesting data, if this is true we will remove XMLEntities such as & and replace it with &void addHarvestInstruction(String propertyName, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar, String regex, int maxOcc, int occ, boolean removeXMLEntity, String name, RPTEvent behavior, boolean alwaysLog)
propertyName
- - the property in the action that we will harvest from. ex. - URIdcVar
- - the DataCorrelationVar that the harvested data will be saved intoregex
- - the regular expression used to extract the data from the propertyNamemaxOcc
- - the number of occurences for this regex from the beginning of the string til the one we wantocc
- - the number of occ. for this regex from the last harvester in the response stringremoveXMLEntity
- - after harvesting data, if this is true we will remove XMLEntities such as & and replace it with &name
- - the description of the namebehavior
- - if the harvest should fail, what action should be takenalwaysLog
- - says to always log this value regardless of logging level specifiedvoid addHarvestInstruction(String propertyName, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar, String regex)
propertyName
- - the property in the action that we will harvest from. ex. - URIdcVar
- - the DataCorrelationVar that the harvested data will be saved intoregex
- - the regular expression used to extract the data from the propertyNamevoid addHarvestInstruction(String propertyName, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
propertyName
- - the property in the action that we will harvest from. ex. - URIdcVar
- - the DataCorrelationVar that the harvested data will be saved intovoid addHarvestInstruction(com.ibm.rational.test.lt.datacorrelation.execution.harvest.IHarvestRule rule)
rule
- - the harvest rule to be added for this requestvoid harvestData(Object action)
action
- - the action to perform the harvest onvoid harvestData(Object action, boolean fcr)
action
- - the action to perform the harvest onfcr
- - if we should fcr harvester or notArrayList getEvents()
© Copyright IBM Corp. 2013. All rights reserved.