public interface IProtoElementAdapter
Modifier and Type | Method and Description |
---|---|
boolean |
canHarvest(IDCStringLocator strl)
This will determine if this ProtocolAdapter wants to/can be a data source
or not for this site
|
boolean |
canSubstitute(IDCStringLocator strl)
This will determine if this ProtocolAdapter wants to/can perform substitution on the
specified element or not
|
IDCStringLocator |
findDPColName(IDCStringLocator strl)
This will try to find an appropriate column name for a given value
|
List |
findHarvestSites(IDCStringLocator strl,
CBActionElement cb)
Given a string, we will work backwards from that element through the test and
find all possible sites where the string is found.
|
void |
findReference(LTTest test,
com.ibm.rational.test.common.models.behavior.cbdata.Substituter sub,
ArrayList elem,
int index)
this will find references for the substituter
|
List |
findSubs(ArrayList elem,
int index)
this will create Substitution sites for the current element
|
String |
getPropertyString(CBActionElement cb,
String propertyType)
This will get a string of type propertyType out of a CBActionElement
|
String |
getPropertyType(CBActionElement cb,
String type)
This will take a propertyType used to retrieve behavior model elements and convert
it to an execution propertyType
|
boolean |
getShouldEncode(IDCStringLocator dataString) |
com.ibm.rational.test.common.models.behavior.cbdata.DataSource |
makeDataSource(IDCStringLocator strl) |
com.ibm.rational.test.common.models.behavior.cbdata.Substituter |
makeSub(IDCStringLocator strl) |
void |
uninit()
this will free up any static resources used for automatic data correlation
|
List findSubs(ArrayList elem, int index)
elem
- - the list of actions to be correlatedindex
- - the index for where to start finding correlationsvoid findReference(LTTest test, com.ibm.rational.test.common.models.behavior.cbdata.Substituter sub, ArrayList elem, int index)
elem
- - the list of actions to be correlatedindex
- - the index for where to start finding correlationsvoid uninit()
List findHarvestSites(IDCStringLocator strl, CBActionElement cb)
strl
- - information about the string we want to find harvest sites forcb
- - where in the behavior model to start the search.String getPropertyString(CBActionElement cb, String propertyType)
cb
- - the element to retrieve the string frompropertyType
- - the property type of the string to be retrievedString getPropertyType(CBActionElement cb, String type)
cb
- - the element to retrieve the real type fromtype
- - the typeIDCStringLocator findDPColName(IDCStringLocator strl)
strl
- - string locator with info for dp valueboolean canSubstitute(IDCStringLocator strl)
strl
- - info about the element you want to know if substitution can be performed onboolean canHarvest(IDCStringLocator strl)
strl
- - info about the element you want to know if harvesting can be performed forboolean getShouldEncode(IDCStringLocator dataString)
dataString
- - the dataString that might need to be encodedcom.ibm.rational.test.common.models.behavior.cbdata.Substituter makeSub(IDCStringLocator strl)
strl
- - the string locator info to make a substituter fromcom.ibm.rational.test.common.models.behavior.cbdata.DataSource makeDataSource(IDCStringLocator strl)
strl
- - the string locator info to make a datasource from© Copyright IBM Corp. 2013. All rights reserved.