Class BuildStepWithTimeout
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.build_timeout.BuildStepWithTimeout
- All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionBuildStepWithTimeout(BuildStep buildStep, BuildTimeOutStrategy strategy, List<BuildTimeOutOperation> operationList) -
Method Summary
Modifier and TypeMethodDescriptionbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) booleanperform(Build<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class Builder
all, getDescriptor, prebuildMethods inherited from class BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, prebuildMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BuildStep
getProjectAction, getProjectActions, prebuild
-
Constructor Details
-
BuildStepWithTimeout
@DataBoundConstructor public BuildStepWithTimeout(BuildStep buildStep, BuildTimeOutStrategy strategy, List<BuildTimeOutOperation> operationList)
-
-
Method Details
-
getOperationList
-
getBuildStep
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
perform
public boolean perform(Build<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getStrategy
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep- Overrides:
getRequiredMonitorServicein classBuilder
-