com.mercury.ftjadin.infra.abstr
Interface RecordWrapper
- All Superinterfaces:
- WrapperInspector
- extends WrapperInspector
public interface RecordWrapper
The RecordWrapper interface extends WrapperInspector.
Method Summary | |
---|---|
boolean | blockWrappedObjectRecord() Checks whether to pass events to an inner object. |
RecordMessage | wrapperRecordMessage(RecordMessage record,
java.lang.Object wrapper) Passes the RecordMessage to the wrapper object for processing. |
Methods inherited from interface com.mercury.ftjadin.infra.abstr.WrapperInspector |
---|
checkWrappedObject |
Method Detail |
---|
wrapperRecordMessage
RecordMessage wrapperRecordMessage(RecordMessage record, java.lang.Object wrapper)
- Passes the RecordMessage to the wrapper object for processing.
The method returns one of:
- The record argument unchanged, to send the original message to the test
- A new RecordMessage to be sent instead of the original
- null, to cancel the recording - Parameters:
record
- The RecordMessage produced by this wrapped object.wrapper
- The container object that wraps this component.- Returns:
- The RecordMessage after processing by the wrapper.
blockWrappedObjectRecord
boolean blockWrappedObjectRecord()
- Checks whether to pass events to an inner object.
If the implementation returns true, the inner wrapped object does not receive event notifications. In that case, the wrapper object must register itself as an event listener and handle the recording.
If the implementation returns false, the UFT infrastructure calls thewrapperRecordMessage
method of this wrapper object for each record request submitted by the wrapped object.