Class TestBuilderDslExtension
java.lang.Object
javaposse.jobdsl.plugin.ContextExtensionPoint
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractDslExtension
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractTestBuilderDslExtension
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.TestBuilderDslExtension
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true)
public class TestBuilderDslExtension
extends AbstractTestBuilderDslExtension
Class providing test related DSL extensions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassContextclass providing export package methods for the nested DSL context.classContextclass providing export project methods for the nested DSL context.classContextclass providing import package methods for the nested DSL context.classContextclass providing import project methods for the nested DSL context.classContextclass providing package configuration methods for the nested DSL context.classContextclass providing project configuration methods for the nested DSL context.classContextclass providing test folder execution methods for the nested DSL context.classContextclass providing ecu.test package execution methods for the nested DSL context.classContextclass providing ecu.test project execution methods for the nested DSL context.Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractTestBuilderDslExtension
AbstractTestBuilderDslExtension.AbstractExportContext, AbstractTestBuilderDslExtension.AbstractImportContext, AbstractTestBuilderDslExtension.AbstractTestContextNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractTestBuilderDslExtension
OPT_TEST_FILE, tmsValidator, validatorFields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractDslExtension
NO_INSTALL_MSG, NOT_NULL_MSG, OPT_TIMEOUT, OPT_TOOL_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDslExtensionMethodproviding the export of packages to test management system with default settings.exportPackages(Runnable closure) DslExtensionMethodproviding the export of packages to test management system.DslExtensionMethodproviding the export of projects to test management system with default settings.exportProjects(Runnable closure) DslExtensionMethodproviding the export of projects to test management system.DslExtensionMethodproviding the import of packages from test management system with default settings.importPackages(Runnable closure) DslExtensionMethodproviding the import of packages from test management system.DslExtensionMethodproviding the import of projects from archive and test management system with default settings.importProjects(Runnable closure) DslExtensionMethodproviding the import of projects from archive and test management system.testFolder(CharSequence testFolder) DslExtensionMethodproviding the execution of ecu.test packages and projects inside of a test folder with default settings.testFolder(CharSequence testFolder, Runnable closure) DslExtensionMethodproviding the execution of ecu.test packages and projects inside of a test folder.testPackage(CharSequence pkgFile) DslExtensionMethodproviding the execution of an ecu.test package with default settings.testPackage(CharSequence pkgFile, Runnable closure) DslExtensionMethodproviding the execution of an ecu.test package.testProject(CharSequence prjFile) DslExtensionMethodproviding the execution of an ecu.test project with default settings.testProject(CharSequence prjFile, Runnable closure) DslExtensionMethodproviding the execution of an ecu.test project.Methods inherited from class javaposse.jobdsl.plugin.ContextExtensionPoint
all, executeInContext, notifyItemCreated, notifyItemUpdated
-
Constructor Details
-
TestBuilderDslExtension
public TestBuilderDslExtension()
-
-
Method Details
-
testPackage
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object testPackage(CharSequence pkgFile, Runnable closure) DslExtensionMethodproviding the execution of an ecu.test package.- Parameters:
pkgFile- the package fileclosure- the nested Groovy closure- Returns:
- the instance of a
TestPackageBuilder
-
testPackage
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object testPackage(CharSequence pkgFile) DslExtensionMethodproviding the execution of an ecu.test package with default settings.- Parameters:
pkgFile- the package file- Returns:
- the instance of a
TestPackageBuilder
-
testProject
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object testProject(CharSequence prjFile, Runnable closure) DslExtensionMethodproviding the execution of an ecu.test project.- Parameters:
prjFile- the project fileclosure- the nested Groovy closure- Returns:
- the instance of a
TestProjectBuilder
-
testProject
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object testProject(CharSequence prjFile) DslExtensionMethodproviding the execution of an ecu.test project with default settings.- Parameters:
prjFile- the project file- Returns:
- the instance of a
TestProjectBuilder
-
testFolder
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object testFolder(CharSequence testFolder, Runnable closure) DslExtensionMethodproviding the execution of ecu.test packages and projects inside of a test folder.- Parameters:
testFolder- the test folderclosure- the nested Groovy closure- Returns:
- the instance of a
TestFolderBuilder
-
testFolder
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object testFolder(CharSequence testFolder) DslExtensionMethodproviding the execution of ecu.test packages and projects inside of a test folder with default settings.- Parameters:
testFolder- the test folder- Returns:
- the instance of a
TestFolderBuilder
-
importPackages
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object importPackages(Runnable closure) DslExtensionMethodproviding the import of packages from test management system.- Parameters:
closure- the nested Groovy closure- Returns:
- the instance of a
ImportPackageBuilder
-
importPackages
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object importPackages()DslExtensionMethodproviding the import of packages from test management system with default settings.- Returns:
- the instance of a
ImportPackageBuilder
-
importProjects
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object importProjects(Runnable closure) DslExtensionMethodproviding the import of projects from archive and test management system.- Parameters:
closure- the nested Groovy closure- Returns:
- the instance of a
ImportProjectBuilder
-
importProjects
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object importProjects()DslExtensionMethodproviding the import of projects from archive and test management system with default settings.- Returns:
- the instance of a
ImportProjectBuilder
-
exportPackages
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object exportPackages(Runnable closure) DslExtensionMethodproviding the export of packages to test management system.- Parameters:
closure- the nested Groovy closure- Returns:
- the instance of a
ExportPackageBuilder
-
exportPackages
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object exportPackages()DslExtensionMethodproviding the export of packages to test management system with default settings.- Returns:
- the instance of a
ExportPackageBuilder
-
exportProjects
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object exportProjects(Runnable closure) DslExtensionMethodproviding the export of projects to test management system.- Parameters:
closure- the nested Groovy closure- Returns:
- the instance of a
ExportProjectBuilder
-
exportProjects
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object exportProjects()DslExtensionMethodproviding the export of projects to test management system with default settings.- Returns:
- the instance of a
ExportProjectBuilder
-