hudson.plugins.build_timeout.operations
クラス BuildStepOperation

java.lang.Object
  上位を拡張 hudson.plugins.build_timeout.BuildTimeOutOperation
      上位を拡張 hudson.plugins.build_timeout.operations.BuildStepOperation
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<BuildTimeOutOperation>

public class BuildStepOperation
extends BuildTimeOutOperation

Timeout Action to perform any specified BuildStep, which includes Builder and Publisher. This does not ensure all BuildStep works correct. Especially, BuildSteps that launch processes on build nodes does not work at all.


入れ子のクラスの概要
static class BuildStepOperation.DescriptorImpl
           
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
BuildStepOperation(hudson.tasks.BuildStep buildstep, boolean continueEvenFailed)
          推奨されていません。 
BuildStepOperation(hudson.tasks.BuildStep buildstep, boolean continueEvenFailed, boolean createLauncher)
           
 
メソッドの概要
protected  hudson.Launcher createLauncher(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 hudson.tasks.BuildStep getBuildstep()
           
 boolean isContinueEvenFailed()
           
 boolean isCreateLauncher()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, long effectiveTimeout)
          Perform operation.
 
クラス hudson.plugins.build_timeout.BuildTimeOutOperation から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BuildStepOperation

@DataBoundConstructor
public BuildStepOperation(hudson.tasks.BuildStep buildstep,
                                               boolean continueEvenFailed,
                                               boolean createLauncher)
パラメータ:
buildstep -
continueEvenFailed -

BuildStepOperation

@Deprecated
public BuildStepOperation(hudson.tasks.BuildStep buildstep,
                                     boolean continueEvenFailed)
推奨されていません。 

メソッドの詳細

getBuildstep

public hudson.tasks.BuildStep getBuildstep()
戻り値:
build step to perform.

isContinueEvenFailed

public boolean isContinueEvenFailed()
戻り値:
true to ignore build step failure.

isCreateLauncher

public boolean isCreateLauncher()
戻り値:
whether to create a launcher for this build step

createLauncher

protected hudson.Launcher createLauncher(hudson.model.AbstractBuild<?,?> build,
                                         hudson.model.BuildListener listener)
パラメータ:
build -
listener -
戻り値:
launcher specified with launcherOption.

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.model.BuildListener listener,
                       long effectiveTimeout)
クラス BuildTimeOutOperation の記述:
Perform operation.

定義:
クラス BuildTimeOutOperation 内の perform
パラメータ:
build -
listener -
effectiveTimeout -
戻り値:
関連項目:
BuildTimeOutOperation.perform(hudson.model.AbstractBuild, hudson.model.BuildListener, long)


Copyright © 2004-2015. All Rights Reserved.