hudson.plugins.build_timeout
クラス BuildTimeOutStrategy
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutStrategy
- すべての実装されたインタフェース:
- hudson.model.Describable<BuildTimeOutStrategy>
- 直系の既知のサブクラス:
- AbsoluteTimeOutStrategy, ElasticTimeOutStrategy, LikelyStuckTimeOutStrategy, NoActivityTimeOutStrategy
public abstract class BuildTimeOutStrategy
- extends Object
- implements hudson.model.Describable<BuildTimeOutStrategy>
- 作成者:
- Nicolas De Loof
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MINUTES
public static final long MINUTES
- 関連項目:
- 定数フィールド値
LOG
public static final Logger LOG
BuildTimeOutStrategy
public BuildTimeOutStrategy()
getTimeOut
@Deprecated
public long getTimeOut(hudson.model.Run run)
- 推奨されていません。 override
getTimeOut(hudson.model.AbstractBuild, hudson.model.BuildListener)
instead.
- Define the delay (in milliseconds) to wait for the build to complete before interrupting.
- パラメータ:
run
-
getTimeOut
public long getTimeOut(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws InterruptedException,
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException,
IOException
- Define the delay (in milliseconds) to wait for the build to complete before interrupting.
- パラメータ:
build
- the buildlistener
- the build listener
- 例外:
InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
onWrite
public void onWrite(hudson.model.AbstractBuild<?,?> build,
int b)
- Called when some output to console.
Override this to capture the activity.
- パラメータ:
build
- b
- output character.
wantsCaptureLog
public boolean wantsCaptureLog()
- Decides whether to call
BuildTimeOutStrategy.onWrite
For performance reason, BuildTimeOutStrategy.onWrite
is called
only when subclass overrides it.
- 戻り値:
- true to call
BuildTimeOutStrategy.onWrite
getDescriptor
public hudson.model.Descriptor<BuildTimeOutStrategy> getDescriptor()
- 定義:
- インタフェース
hudson.model.Describable<BuildTimeOutStrategy>
内の getDescriptor
- 戻り値:
- 関連項目:
Describable.getDescriptor()
expandAll
protected final String expandAll(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String string)
throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException,
IOException,
InterruptedException
- 例外:
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
Copyright © 2004-2014. All Rights Reserved.