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.


入れ子のクラスの概要
static class NoActivityTimeOutStrategy.DescriptorImpl
           
 
フィールドの概要
 
クラス hudson.plugins.build_timeout.BuildTimeOutStrategy から継承されたフィールド
LOG, MINUTES
 
コンストラクタの概要
NoActivityTimeOutStrategy(long timeoutSeconds)
          推奨されていません。 
NoActivityTimeOutStrategy(String timeoutSecondsString)
           
 
メソッドの概要
 long getTimeOut(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Define the delay (in milliseconds) to wait for the build to complete before interrupting.
 long getTimeoutSeconds()
          推奨されていません。 use getTimeoutSecondsString() instead.
 String getTimeoutSecondsString()
           
 void onWrite(hudson.model.AbstractBuild<?,?> build, int b)
          Called when some output to console.
 
クラス hudson.plugins.build_timeout.BuildTimeOutStrategy から継承されたメソッド
expandAll, getDescriptor, getTimeOut, wantsCaptureLog
 
クラス 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 build
listener - the build listener
例外:
InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException

onWrite

public void onWrite(hudson.model.AbstractBuild<?,?> build,
                    int b)
クラス BuildTimeOutStrategy の記述:
Called when some output to console. Override this to capture the activity.

オーバーライド:
クラス BuildTimeOutStrategy 内の onWrite
パラメータ:
build -
b -
関連項目:
hudson.plugins.build_timeout.BuildTimeOutStrategy#onWrite(int)


Copyright © 2004-2014. All Rights Reserved.