hudson.plugins.build_timeout.impl
クラス AbsoluteTimeOutStrategy
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutStrategy
hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy
- すべての実装されたインタフェース:
- hudson.model.Describable<BuildTimeOutStrategy>
public class AbsoluteTimeOutStrategy
- extends BuildTimeOutStrategy
If the build took longer than timeoutMinutes amount of minutes, it will be terminated.
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension(ordinal=100.0)
public static final AbsoluteTimeOutStrategy.DescriptorImpl DESCRIPTOR
AbsoluteTimeOutStrategy
@Deprecated
public AbsoluteTimeOutStrategy(int timeoutMinutes)
- 推奨されていません。
AbsoluteTimeOutStrategy
@DataBoundConstructor
public AbsoluteTimeOutStrategy(String timeoutMinutes)
getTimeoutMinutes
public String getTimeoutMinutes()
- 戻り値:
- minutes to timeout.
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-2014. All Rights Reserved.