com.ibm.rational.test.lt.codegen.lttest.lang
Class LTTestScriptDefinition
java.lang.Object
com.ibm.rational.test.lt.codegen.core.lang.pleiades.AbstractPleiadesStructureDefinition
com.ibm.rational.test.lt.codegen.lttest.lang.LTTestScriptDefinition
- All Implemented Interfaces:
- com.ibm.rational.test.lt.codegen.core.config.IInitializable, com.ibm.rational.test.lt.codegen.core.lang.IStructureDefinition
public class LTTestScriptDefinition
- extends com.ibm.rational.test.lt.codegen.core.lang.pleiades.AbstractPleiadesStructureDefinition
Fields inherited from class com.ibm.rational.test.lt.codegen.core.lang.pleiades.AbstractPleiadesStructureDefinition |
cgRequest, codegenPlugin, elemTypeImportsMap, formatter, ipotSchedArmOptionList, langElements, log, projConfig, scriptTemplate, testFeatureList, typeDefDescMap |
Methods inherited from class com.ibm.rational.test.lt.codegen.core.lang.pleiades.AbstractPleiadesStructureDefinition |
addLanguageElement, addLanguageElements, addScriptImport, clear, createFileDataEntry, createFileDataEntry, getDirectScriptChildren, getImportsForElemType, getIpotSchedArmOptionList, getNonPublicClassDefElems, getProjectConfiguration, getScriptImports, getTemplate, getTypeDefinitionDesc, getUniqueName, loadArbitrary, markAttachedFile, processLiteralString, setFeatureList, setIpotSchedArmOptionList, setParentNameInChildren, setTestSuite |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LTTestScriptDefinition
public LTTestScriptDefinition()
throws com.ibm.rational.test.lt.codegen.core.config.InitializationException
- Throws:
com.ibm.rational.test.lt.codegen.core.config.InitializationException
init
public void init(Object initData)
throws com.ibm.rational.test.lt.codegen.core.config.InitializationException
- Specified by:
init
in interface com.ibm.rational.test.lt.codegen.core.config.IInitializable
- Specified by:
init
in interface com.ibm.rational.test.lt.codegen.core.lang.IStructureDefinition
- Overrides:
init
in class com.ibm.rational.test.lt.codegen.core.lang.pleiades.AbstractPleiadesStructureDefinition
- Throws:
com.ibm.rational.test.lt.codegen.core.config.InitializationException
- See Also:
IStructureDefinition.init(java.lang.Object)
getType
public String getType()
getTemplate
public com.ibm.rational.test.lt.codegen.core.template.ITemplate getTemplate()
throws com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- Throws:
com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- See Also:
IStructureDefinition.getTemplate()
mapElementsToStorageUnits
public List mapElementsToStorageUnits()
throws com.ibm.rational.test.lt.codegen.core.lang.TranslationException,
com.ibm.rational.test.lt.codegen.core.storage.StorageException
- Throws:
com.ibm.rational.test.lt.codegen.core.lang.TranslationException
com.ibm.rational.test.lt.codegen.core.storage.StorageException
- See Also:
IStructureDefinition.mapElementsToStorageUnits()
doScriptLevelTranslation
public void doScriptLevelTranslation()
throws com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- Throws:
com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- See Also:
IStructureDefinition.doScriptLevelTranslation()
addScriptImports
protected void addScriptImports(Collection addtlScriptImports)
- Add extra script imports
Protocol extenders may define additional script imports
- Parameters:
addtlScriptImports
- collection of script imports (strings containing import statements"
setContentVPElementDeclarations
protected void setContentVPElementDeclarations(List contentStringList,
List langElements)
throws com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- Throws:
com.ibm.rational.test.lt.codegen.core.lang.TranslationException
processContentVPElement
protected void processContentVPElement(com.ibm.rational.test.lt.codegen.core.template.ITemplate template,
com.ibm.rational.test.lt.codegen.core.lang.ILanguageElement contVPVarsElem,
VPString currVPString)
throws com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- Process Content Verification Point Element (String)
Protocol extenders may define template and language element for specialized VPElements
- Parameters:
template
- VPElement Template (contVPVarsElem
- VPElement language elementcurrVPString
- VPElement to be translated
- Throws:
com.ibm.rational.test.lt.codegen.core.lang.TranslationException
- See Also:
Any changes might require changes here
© Copyright IBM Corp. 2012. All rights reserved.