Class StopTSBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- de.tracetronic.jenkins.plugins.ecutest.tool.AbstractToolBuilder
-
- de.tracetronic.jenkins.plugins.ecutest.tool.StopTSBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class StopTSBuilder extends AbstractToolBuilder
Builder providing the tear down of the Tool-Server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StopTSBuilder.DescriptorImpl
DescriptorImpl forStopTSBuilder
.-
Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.tool.AbstractToolBuilder
AbstractToolBuilder.SetComPropertyCallable
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_TIMEOUT
Defines the default timeout to stop the Tool-Server.-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description StopTSBuilder(String toolName)
Instantiates a newStopTSBuilder
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDefaultTimeout()
Gets the default timeout.void
performTool(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Performs the tool-specific build step operations.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.tool.AbstractToolBuilder
configureToolInstallation, getDescriptor, getInstallation, getRequiredMonitorService, getTimeout, getToolId, getToolInstallation, getToolName, isInstallationVerified, perform, setInstallation, setTimeout, setTimeout
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
Defines the default timeout to stop the Tool-Server.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StopTSBuilder
@DataBoundConstructor public StopTSBuilder(@Nonnull String toolName)
Instantiates a newStopTSBuilder
.- Parameters:
toolName
- the tool name identifying theETInstallation
to be used
-
-
Method Detail
-
getDefaultTimeout
public int getDefaultTimeout()
Description copied from class:AbstractToolBuilder
Gets the default timeout.- Specified by:
getDefaultTimeout
in classAbstractToolBuilder
- Returns:
- the default timeout
-
performTool
public void performTool(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException, ETPluginException
Description copied from class:AbstractToolBuilder
Performs the tool-specific build step operations.- Specified by:
performTool
in classAbstractToolBuilder
- Parameters:
run
- the runworkspace
- the workspacelauncher
- the launcherlistener
- the listener- Throws:
InterruptedException
- the interrupted exceptionIOException
- signals that an I/O exception has occurredETPluginException
- in case of tool operation errors
-
-