|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataSub
Method Summary | |
---|---|
void |
addSubInstruction(com.ibm.rational.test.lt.datacorrelation.execution.sub.ISubRule sub)
|
void |
addSubInstruction(String propertyName,
boolean encode,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
This function will add a substitute instruction for where to substitute data in the given propertyName. |
void |
addSubInstruction(String propertyName,
int offset,
int length,
boolean encode,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
This function will add a substitute instruction for where to substitute data in the given propertyName |
void |
addSubInstruction(String propertyName,
int offset,
int length,
boolean encode,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar,
boolean init,
String name,
RPTEvent behavior)
This function will add a substitute instruction for where to substitute data in the given propertyName |
void |
addSubInstruction(String propertyName,
int offset,
int length,
com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
This function will add a substitute instruction for where to substitute data in the given propertyName, encoding is assumed false |
long |
calculateSubstituteDataLength(Object logAction,
Object theSubstObj,
String charset)
This function will return the length of the chunk (HTTPPostDataChunk) as it would be IF substitution had occurred WITHOUT actually doing the substitution. |
ArrayList<com.ibm.rational.test.lt.datacorrelation.execution.sub.FileSubRule> |
getFileSubRules()
Deprecated. |
long |
getMaxSubLengthNeeded()
|
ArrayList |
getRulesOfType(String ruleType)
|
void |
substituteData(Object action,
HashMap hm)
This function will actually do the substitution of the data executing all the substitution instructions that were stored as part of the addSubInstruction |
void |
substituteData(Object logAction,
Object theSubstObj,
String id,
HashMap hm)
This function will actually do the substitution of the data executing all the substitution instructions that were stored as part of the addSubInstruction |
Methods inherited from interface com.ibm.rational.test.lt.kernel.dc.IKDataSub |
---|
getEvents, substituteData |
Method Detail |
---|
void addSubInstruction(String propertyName, int offset, int length, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
propertyName
- - where in the Action to do the substitutionoffset
- - offset into the string to start the substitutionlength
- - the length of the string that is to be substituteddcVar
- - the datacorrelation variable to use for the substitutionvoid addSubInstruction(String propertyName, int offset, int length, boolean encode, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
propertyName
- - where in the Action to do the substitutionoffset
- - offset into the string to start the substitutionlength
- - the length of the string that is to be substitutedencode
- - whether or not to encode the data being substituteddcVar
- - the datacorrelation variable to use for the substitutionvoid addSubInstruction(String propertyName, boolean encode, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar)
propertyName
- - where in the Action to do the substitutionencode
- - whether or not to encode the data being substituteddcVar
- - the datacorrelation variable to use for the substitutionvoid addSubInstruction(com.ibm.rational.test.lt.datacorrelation.execution.sub.ISubRule sub)
sub
- - this is a substitution Rule that has already been created. It will
be executed in conjunction with this substitutervoid substituteData(Object action, HashMap hm)
action
- - the action to pull properties out of and substitute onhm
- - the hash map to put what the new property should look likevoid substituteData(Object logAction, Object theSubstObj, String id, HashMap hm)
logAction
- - the action used for loggingtheSubstObj
- - the object to pull properties out of and substitute onid
- - guid of substituted objecthm
- - the hash map to put what the new property should look likevoid addSubInstruction(String propertyName, int offset, int length, boolean encode, com.ibm.rational.test.lt.datacorrelation.execution.harvest.IDataCorrelationVar dcVar, boolean init, String name, RPTEvent behavior)
propertyName
- - where in the Action to do the substitutionoffset
- - offset into the string to start the substitutionlength
- - the length of the string that is to be substitutedencode
- - whether or not to encode the data being substituteddcVar
- - the datacorrelation variable to use for the substitutioninit
- - tells whether SubRule should initialize the dcVar before executingbehavior
- - if the substitution should fail, what action should be taken?long calculateSubstituteDataLength(Object logAction, Object theSubstObj, String charset)
logAction
- - the action used for loggingtheSubstObj
- - the object to pull properties out of and substitute on
ArrayList<com.ibm.rational.test.lt.datacorrelation.execution.sub.FileSubRule> getFileSubRules()
ArrayList getRulesOfType(String ruleType)
ruleType
- - Object.getClass().getName(); - the type of rules you want in a list
long getMaxSubLengthNeeded()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |