|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProtoElementAdapter
Method Summary | |
---|---|
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 |
Method Detail |
---|
List findSubs(ArrayList elem, int index)
elem
- - the list of actions to be correlatedindex
- - the index for where to start finding correlations
void 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 retrieved
String getPropertyType(CBActionElement cb, String type)
cb
- - the element to retrieve the real type fromtype
- - the type
IDCStringLocator findDPColName(IDCStringLocator strl)
strl
- - string locator with info for dp value
boolean canSubstitute(IDCStringLocator strl)
strl
- - info about the element you want to know if substitution can be performed on
boolean canHarvest(IDCStringLocator strl)
strl
- - info about the element you want to know if harvesting can be performed for
boolean getShouldEncode(IDCStringLocator dataString)
dataString
- - the dataString that might need to be encoded
com.ibm.rational.test.common.models.behavior.cbdata.Substituter makeSub(IDCStringLocator strl)
strl
- - the string locator info to make a substituter from
com.ibm.rational.test.common.models.behavior.cbdata.DataSource makeDataSource(IDCStringLocator strl)
strl
- - the string locator info to make a datasource from
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |