public class RunConditionTimeoutStrategy
extends hudson.plugins.build_timeout.BuildTimeOutStrategy
Modifier and Type | Class and Description |
---|---|
static class |
RunConditionTimeoutStrategy.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static RunConditionTimeoutStrategy.DescriptorImpl |
DESCRIPTOR |
Constructor and Description |
---|
RunConditionTimeoutStrategy(List<ConditionalTimeout> conditions,
long defaultTimeout) |
Modifier and Type | Method and Description |
---|---|
List<ConditionalTimeout> |
getConditions() |
long |
getDefaultTimeout()
Gets default timeout.
|
hudson.model.Descriptor<hudson.plugins.build_timeout.BuildTimeOutStrategy> |
getDescriptor() |
long |
getTimeOut(hudson.model.Run run) |
@Extension(optional=true) public static final RunConditionTimeoutStrategy.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public RunConditionTimeoutStrategy(List<ConditionalTimeout> conditions, long defaultTimeout)
public List<ConditionalTimeout> getConditions()
public long getDefaultTimeout()
public long getTimeOut(hudson.model.Run run)
getTimeOut
in class hudson.plugins.build_timeout.BuildTimeOutStrategy
public hudson.model.Descriptor<hudson.plugins.build_timeout.BuildTimeOutStrategy> getDescriptor()
Copyright © 2016–2018. All rights reserved.