hudson.plugins.build_timeout
クラス BuildTimeOutOperation

java.lang.Object
  上位を拡張 hudson.plugins.build_timeout.BuildTimeOutOperation
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<BuildTimeOutOperation>
直系の既知のサブクラス:
AbortOperation, BuildStepOperation, FailOperation, WriteDescriptionOperation

public abstract class BuildTimeOutOperation
extends Object
implements hudson.ExtensionPoint, hudson.model.Describable<BuildTimeOutOperation>

Defines an operation performed when timeout occurs. They are called "Timeout Actions", but the class is BuildTimeOutOperation not to be confused with Action


入れ子のクラスの概要
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
BuildTimeOutOperation()
           
 
メソッドの概要
 BuildTimeOutOperationDescriptor getDescriptor()
           
abstract  boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, long effectiveTimeout)
          Perform operation.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BuildTimeOutOperation

public BuildTimeOutOperation()
メソッドの詳細

perform

public abstract boolean perform(hudson.model.AbstractBuild<?,?> build,
                                hudson.model.BuildListener listener,
                                long effectiveTimeout)
Perform operation.

パラメータ:
build - build timed out
listener - build listener. can be used to print log.
effectiveTimeout - timeout (milliseconds)
戻り値:
false not to run subsequent operations. It also mark the build as failure.

getDescriptor

public BuildTimeOutOperationDescriptor getDescriptor()
定義:
インタフェース hudson.model.Describable<BuildTimeOutOperation> 内の getDescriptor
戻り値:
関連項目:
Describable.getDescriptor()


Copyright © 2004-2015. All Rights Reserved.