IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.execution.core
Interface IContentVPElement


public interface IContentVPElement

A IContentVPElement is a object capable of performing a verification on content and returning if the verification was successful or not. A IContentVP will call executeVPElement during its evaluation. Every IContentVP consists of one or more IContentVPElement to perform the overall content verification.

Since:
6.1.2
See Also:
IContentVP

Method Summary
 Object createVPGroup(IContentVP vp, IContentVPElement[] elements)
          The IContentVP calls this during the initialization phase to check if the element group wants to create a context object for the current evaluation.
 boolean executeVPElement(IContentVP vp, Object group)
          Deprecated. 
 boolean executeVPElement(IContentVP vp, Object group, boolean needToFindAll)
          Executes the VP element or if group is non-null, then execute the VPGroup.
 String getDescription()
          Returns a description of this content VP element.
 String getGroup(IContentVP vp)
          True if it belongs to a group of communicating VPElements.
 Object getImplementer()
          Returns the underlying object implementing the algorithm.
 String getLiteral()
           
 

Method Detail

executeVPElement

@Deprecated
boolean executeVPElement(IContentVP vp,
                                    Object group)
Deprecated. 

Executes the VP element or if group is non-null, then execute the VPGroup.

Parameters:
vp - The executing Content VP
group - The group if the element defined one.
Returns:
true if VP element passed.
Since:
6.1.2

executeVPElement

boolean executeVPElement(IContentVP vp,
                         Object group,
                         boolean needToFindAll)
Executes the VP element or if group is non-null, then execute the VPGroup.

Parameters:
vp - The executing Content VP
group - The group if the element defined one.
needToFindAll - All elements in group must match for success
Returns:
true if VP element passed.
Since:
8.2

getDescription

String getDescription()
Returns a description of this content VP element.

Returns:
The description.
Since:
6.1.2

getGroup

String getGroup(IContentVP vp)
True if it belongs to a group of communicating VPElements. Return null if it belongs to its own group and executeVPElement should be called. If null is returned then createVPGroup and

Parameters:
vp - the verification point currently executing
Since:
6.1.2

createVPGroup

Object createVPGroup(IContentVP vp,
                     IContentVPElement[] elements)
The IContentVP calls this during the initialization phase to check if the element group wants to create a context object for the current evaluation.

Parameters:
vp - the verification point currently executing
elements - every element in the group
Returns:
the object to associate with the group on subsequent calls to executeVPElement.
Since:
6.1.2
See Also:
IContentVPElement.getGroup(IContentVP)

getImplementer

Object getImplementer()
Returns the underlying object implementing the algorithm.

Returns:
The underlying object implementing the algorithm.
Since:
6.1.2

getLiteral

String getLiteral()

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.