hudson.plugins.javancss
クラス JavaNCSSGhostwriter

java.lang.Object
  上位を拡張 hudson.plugins.javancss.JavaNCSSGhostwriter
すべての実装されたインタフェース:
Ghostwriter, Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter, Serializable

public class JavaNCSSGhostwriter
extends Object
implements Ghostwriter, Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter

TODO javadoc.

導入されたバージョン:
08-Jan-2008 23:16:52
作成者:
Stephen Connolly
関連項目:
直列化された形式

入れ子のクラスの概要
 
インタフェース hudson.plugins.helpers.Ghostwriter から継承された入れ子のクラス/インタフェース
Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter
 
コンストラクタの概要
JavaNCSSGhostwriter(String reportFilenamePattern, JavaNCSSHealthTarget... targets)
           
 
メソッドの概要
 boolean performFromMaster(hudson.model.AbstractBuild<?,?> build, hudson.FilePath executionRoot, hudson.model.BuildListener listener)
          Runs (on the master) the step over the given build and reports the progress to the listener.
 boolean performFromSlave(BuildProxy build, hudson.model.BuildListener listener)
          Runs (on the slave) the step over the given build and reports the progress to the listener.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JavaNCSSGhostwriter

public JavaNCSSGhostwriter(String reportFilenamePattern,
                           JavaNCSSHealthTarget... targets)
メソッドの詳細

performFromMaster

public boolean performFromMaster(hudson.model.AbstractBuild<?,?> build,
                                 hudson.FilePath executionRoot,
                                 hudson.model.BuildListener listener)
                          throws InterruptedException,
                                 IOException
インタフェース Ghostwriter.MasterGhostwriter の記述:
Runs (on the master) the step over the given build and reports the progress to the listener.

定義:
インタフェース Ghostwriter.MasterGhostwriter 内の performFromMaster
パラメータ:
build - The the build.
executionRoot - The module root on which the build executed.
listener - The buildListener.
戻り値:
true if the build can continue, false if there was an error and the build needs to be aborted.
例外:
InterruptedException - If the build is interrupted by the user (in an attempt to abort the build.) Normally the BuildStep implementations may simply forward the exception it got from its lower-level functions.
IOException - If the implementation wants to abort the processing when an IOException happens, it can simply propagate the exception to the caller. This will cause the build to fail, with the default error message. Implementations are encouraged to catch IOException on its own to provide a better error message, if it can do so, so that users have better understanding on why it failed.

performFromSlave

public boolean performFromSlave(BuildProxy build,
                                hudson.model.BuildListener listener)
                         throws InterruptedException,
                                IOException
インタフェース Ghostwriter.SlaveGhostwriter の記述:
Runs (on the slave) the step over the given build and reports the progress to the listener.

定義:
インタフェース Ghostwriter.SlaveGhostwriter 内の performFromSlave
パラメータ:
build - The information about the build.
listener - The buildListener.
戻り値:
true if the build can continue, false if there was an error and the build needs to be aborted.
例外:
InterruptedException - If the build is interrupted by the user (in an attempt to abort the build.) Normally the BuildStep implementations may simply forward the exception it got from its lower-level functions.
IOException - If the implementation wants to abort the processing when an IOException happens, it can simply propagate the exception to the caller. This will cause the build to fail, with the default error message. Implementations are encouraged to catch IOException on its own to provide a better error message, if it can do so, so that users have better understanding on why it failed.


Copyright © 2004-2011. All Rights Reserved.