Class ToolBuilderDslExtension
java.lang.Object
javaposse.jobdsl.plugin.ContextExtensionPoint
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractDslExtension
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractToolBuilderDslExtension
de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.ToolBuilderDslExtension
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true)
public class ToolBuilderDslExtension
extends AbstractToolBuilderDslExtension
Class providing tool related DSL extensions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassContextclass providing ecu.test start up methods for the nested DSL context.classContextclass providing Tool-Server start up methods for the nested DSL context.classContextclass providing ecu.test shut down methods for the nested DSL context.classContextclass providing Tool-Server shut down methods for the nested DSL context.Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractToolBuilderDslExtension
AbstractToolBuilderDslExtension.AbstractToolContextNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractToolBuilderDslExtension
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 TypeMethodDescriptionstartET(CharSequence toolName) DslExtensionMethodproviding the start up of ecu.test with default settings.startET(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the start up of ecu.test.startTS(CharSequence toolName) DslExtensionMethodproviding the start up of the Tool-Server with default settings.startTS(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the start up of the Tool-Server.stopET(CharSequence toolName) DslExtensionMethodproviding the shut down of ecu.test with default settings.stopET(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the shut down of ecu.test.stopTS(CharSequence toolName) DslExtensionMethodproviding the shut down of the Tool-Server with default settings.stopTS(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the shut down of the Tool-Server.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractToolBuilderDslExtension
checkToolInstallationMethods inherited from class javaposse.jobdsl.plugin.ContextExtensionPoint
all, executeInContext, notifyItemCreated, notifyItemUpdated
-
Constructor Details
-
ToolBuilderDslExtension
public ToolBuilderDslExtension()
-
-
Method Details
-
startET
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object startET(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the start up of ecu.test.- Parameters:
toolName- the tool name identifying theETInstallationto be usedclosure- the nested Groovy closure- Returns:
- the instance of a
StartETBuilder
-
startET
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object startET(CharSequence toolName) DslExtensionMethodproviding the start up of ecu.test with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto be used- Returns:
- the instance of a
StartETBuilder
-
stopET
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object stopET(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the shut down of ecu.test.- Parameters:
toolName- the tool name identifying theETInstallationto be usedclosure- the nested Groovy closure- Returns:
- the instance of a
StopETBuilder
-
stopET
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object stopET(CharSequence toolName) DslExtensionMethodproviding the shut down of ecu.test with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto be used- Returns:
- the instance of a
StopETBuilder
-
startTS
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object startTS(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the start up of the Tool-Server.- Parameters:
toolName- the tool name identifying theETInstallationto be usedclosure- the nested Groovy closure- Returns:
- the instance of a
StartTSBuilder
-
startTS
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object startTS(CharSequence toolName) DslExtensionMethodproviding the start up of the Tool-Server with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto be used- Returns:
- the instance of a
StartTSBuilder
-
stopTS
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object stopTS(CharSequence toolName, Runnable closure) DslExtensionMethodproviding the shut down of the Tool-Server.- Parameters:
toolName- the tool name identifying theETInstallationto be usedclosure- the nested Groovy closure- Returns:
- the instance of a
StopTSBuilder
-
stopTS
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object stopTS(CharSequence toolName) DslExtensionMethodproviding the shut down of the Tool-Server with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto be used- Returns:
- the instance of a
StopTSBuilder
-