public interface IContentVP extends IVerificationPoint, com.ibm.rational.test.lt.kernel.services.IRPTEventGenerator
IVerificationPoint
Modifier and Type | Method and Description |
---|---|
void |
exit(String reason)
Terminates the current verification point evaluation
because of the supplied error condition.
|
StringBuffer |
getContent()
Returns the content to be verified.
|
Object |
getTempAttribute(String name)
Returns the value associated with the specified
name.
|
void |
setTempAttribute(String name,
Object value)
Sets the value of the specified attribute name.
|
org.eclipse.hyades.test.common.event.VerdictEvent |
verifyContentVP(String content)
Evaluate the content VP and return a verdict event.
|
StringBuffer getContent()
Object getTempAttribute(String name)
setTempAttribute
then a null is returned. This feature is to be used
by IContentVPElement
during execution to
communication with other elements belonging to the same group
and will only be available for one execution period.name
- the attribute nameIContentVP.setTempAttribute(String, Object)
void setTempAttribute(String name, Object value)
name
- Name of the attribute.value
- Value of the attribute.IContentVP.getTempAttribute(String)
void exit(String reason)
IContentVPElement
can use this when
an abnormal error condition is encountered during the
evaluation.reason
- the reason to exit VP evaluationIContentVPElement
org.eclipse.hyades.test.common.event.VerdictEvent verifyContentVP(String content)
content
- The content to be verified against, null if
content was unable to be retrieved.© Copyright IBM Corp. 2013. All rights reserved.