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 Classes Modifier and Type Class Description class
ToolBuilderDslExtension.StartETContext
Context
class providing ecu.test start up methods for the nested DSL context.class
ToolBuilderDslExtension.StartTSContext
Context
class providing Tool-Server start up methods for the nested DSL context.class
ToolBuilderDslExtension.StopETContext
Context
class providing ecu.test shut down methods for the nested DSL context.class
ToolBuilderDslExtension.StopTSContext
Context
class 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.AbstractToolContext
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractToolBuilderDslExtension
validator
-
Fields 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 Constructor Description ToolBuilderDslExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
startET(CharSequence toolName)
DslExtensionMethod
providing the start up of ecu.test with default settings.Object
startET(CharSequence toolName, Runnable closure)
DslExtensionMethod
providing the start up of ecu.test.Object
startTS(CharSequence toolName)
DslExtensionMethod
providing the start up of the Tool-Server with default settings.Object
startTS(CharSequence toolName, Runnable closure)
DslExtensionMethod
providing the start up of the Tool-Server.Object
stopET(CharSequence toolName)
DslExtensionMethod
providing the shut down of ecu.test with default settings.Object
stopET(CharSequence toolName, Runnable closure)
DslExtensionMethod
providing the shut down of ecu.test.Object
stopTS(CharSequence toolName)
DslExtensionMethod
providing the shut down of the Tool-Server with default settings.Object
stopTS(CharSequence toolName, Runnable closure)
DslExtensionMethod
providing the shut down of the Tool-Server.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractToolBuilderDslExtension
checkToolInstallation
-
-
-
-
Method Detail
-
startET
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.step.StepContext.class) public Object startET(CharSequence toolName, Runnable closure)
DslExtensionMethod
providing the start up of ecu.test.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the start up of ecu.test with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the shut down of ecu.test.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the shut down of ecu.test with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the start up of the Tool-Server.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the start up of the Tool-Server with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the shut down of the Tool-Server.- Parameters:
toolName
- the tool name identifying theETInstallation
to 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)
DslExtensionMethod
providing the shut down of the Tool-Server with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to be used- Returns:
- the instance of a
StopTSBuilder
-
-