hudson.plugins.build_timeout.impl
クラス NoActivityTimeOutStrategy
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutStrategy
hudson.plugins.build_timeout.impl.NoActivityTimeOutStrategy
- すべての実装されたインタフェース:
- hudson.model.Describable<BuildTimeOutStrategy>
public class NoActivityTimeOutStrategy
- extends BuildTimeOutStrategy
Timeout when specified time passed since the last output.
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoActivityTimeOutStrategy
@DataBoundConstructor
public NoActivityTimeOutStrategy(String timeoutSecondsString)
- パラメータ:
timeoutSeconds
-
NoActivityTimeOutStrategy
@Deprecated
public NoActivityTimeOutStrategy(long timeoutSeconds)
- 推奨されていません。
getTimeoutSeconds
@Deprecated
public long getTimeoutSeconds()
- 推奨されていません。 use
getTimeoutSecondsString()
instead.
- 戻り値:
getTimeoutSecondsString
public String getTimeoutSecondsString()
- 戻り値:
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
onWrite
public void onWrite(hudson.model.AbstractBuild<?,?> build,
byte[] b,
int length)
- クラス
BuildTimeOutStrategy
の記述:
- Called when some output to console.
Override this to capture the activity.
- オーバーライド:
- クラス
BuildTimeOutStrategy
内の onWrite
- パラメータ:
build
- b
- length
- - 関連項目:
BuildTimeOutStrategy.onWrite(AbstractBuild, byte[], int)
Copyright © 2004-2015. All Rights Reserved.