hudson.plugins.build_timeout.impl
クラス ElasticTimeOutStrategy
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutStrategy
hudson.plugins.build_timeout.impl.ElasticTimeOutStrategy
- すべての実装されたインタフェース:
- hudson.model.Describable<BuildTimeOutStrategy>
public class ElasticTimeOutStrategy
- extends BuildTimeOutStrategy
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final ElasticTimeOutStrategy.DescriptorImpl DESCRIPTOR
ElasticTimeOutStrategy
@Deprecated
public ElasticTimeOutStrategy(int timeoutPercentage,
int timeoutMinutesElasticDefault,
int numberOfBuilds)
- 推奨されていません。
ElasticTimeOutStrategy
@DataBoundConstructor
public ElasticTimeOutStrategy(String timeoutPercentage,
String timeoutMinutesElasticDefault,
String numberOfBuilds)
getTimeoutPercentage
public String getTimeoutPercentage()
- 戻り値:
- how long percentage of the average duration to timeout.
getNumberOfBuilds
public String getNumberOfBuilds()
- 戻り値:
- the number of last builds to use to calculate average duration.
getTimeoutMinutesElasticDefault
public String getTimeoutMinutesElasticDefault()
- 戻り値:
- the default minutes to timeout used when failed to calculate average duration
getTimeOut
public long getTimeOut(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws InterruptedException,
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException,
IOException
- クラス
BuildTimeOutStrategy
の記述:
- Define the delay (in milliseconds) to wait for the build to complete before interrupting.
- オーバーライド:
- クラス
BuildTimeOutStrategy
内の getTimeOut
- パラメータ:
build
- the buildlistener
- the build listener
- 例外:
InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
getDescriptor
public hudson.model.Descriptor<BuildTimeOutStrategy> getDescriptor()
- 定義:
- インタフェース
hudson.model.Describable<BuildTimeOutStrategy>
内の getDescriptor
- オーバーライド:
- クラス
BuildTimeOutStrategy
内の getDescriptor
- 関連項目:
Describable.getDescriptor()
Copyright © 2004-2015. All Rights Reserved.