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.


入れ子のクラスの概要
static class AbsoluteTimeOutStrategy.DescriptorImpl
           
 
フィールドの概要
static AbsoluteTimeOutStrategy.DescriptorImpl DESCRIPTOR
           
 
クラス hudson.plugins.build_timeout.BuildTimeOutStrategy から継承されたフィールド
LOG, MINUTES
 
コンストラクタの概要
AbsoluteTimeOutStrategy(int timeoutMinutes)
          推奨されていません。 
AbsoluteTimeOutStrategy(String timeoutMinutes)
           
 
メソッドの概要
 hudson.model.Descriptor<BuildTimeOutStrategy> getDescriptor()
           
 long getTimeOut(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Define the delay (in milliseconds) to wait for the build to complete before interrupting.
 String getTimeoutMinutes()
           
 
クラス hudson.plugins.build_timeout.BuildTimeOutStrategy から継承されたメソッド
expandAll, getTimeOut, onWrite, onWrite, wantsCaptureLog
 
クラス 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 build
listener - 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.