org.jenkinsci.plugins.karotz.eventhandler
クラス KarotzSpeakEventHandler

java.lang.Object
  上位を拡張 hudson.model.AbstractDescribableImpl<KarotzEventHandler>
      上位を拡張 org.jenkinsci.plugins.karotz.eventhandler.KarotzEventHandler
          上位を拡張 org.jenkinsci.plugins.karotz.eventhandler.KarotzSpeakEventHandler
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<KarotzEventHandler>

public class KarotzSpeakEventHandler
extends KarotzEventHandler

KarotzSpeakEventHandler.

作成者:
Seiji Sogabe

入れ子のクラスの概要
static class KarotzSpeakEventHandler.DescriptorImpl
           
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
KarotzSpeakEventHandler(String lang, String startText, String successText, String failureText, String unstableText, String recoverText)
           
 
メソッドの概要
 String getFailureText()
          Gets the text to speak when the build is failed.
 String getLang()
          Gets the language of the text to say.
 String getRecoverText()
          Gets the text to speak when the build has recover success.
 String getStartText()
          Gets the text to speak when the build has started.
 String getSuccessText()
          Gets the text to speak when the build is successfull.
 String getUnstableText()
          Gets the text to speak when the build is unstable.
 void onFailure(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Triggered on build failure.
 void onRecover(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Triggered on build recover.
 void onStart(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Triggered on build start.
 void onSuccess(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Triggered on build success.
 void onUnstable(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Triggered on build unstable.
 
クラス org.jenkinsci.plugins.karotz.eventhandler.KarotzEventHandler から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

KarotzSpeakEventHandler

@DataBoundConstructor
public KarotzSpeakEventHandler(String lang,
                                                    String startText,
                                                    String successText,
                                                    String failureText,
                                                    String unstableText,
                                                    String recoverText)
メソッドの詳細

getLang

public String getLang()
Gets the language of the text to say.

戻り値:
language

getStartText

public String getStartText()
Gets the text to speak when the build has started.

戻り値:
the text

getSuccessText

public String getSuccessText()
Gets the text to speak when the build is successfull.

戻り値:
the text

getFailureText

public String getFailureText()
Gets the text to speak when the build is failed.

戻り値:
the text

getUnstableText

public String getUnstableText()
Gets the text to speak when the build is unstable.

戻り値:
the text

getRecoverText

public String getRecoverText()
Gets the text to speak when the build has recover success.

戻り値:
the text

onStart

public void onStart(hudson.model.AbstractBuild<?,?> build,
                    hudson.model.BuildListener listener)
             throws KarotzException
Triggered on build start.

定義:
クラス KarotzEventHandler 内の onStart
パラメータ:
build - The build in progress
listener - build listener
例外:
KarotzException

onFailure

public void onFailure(hudson.model.AbstractBuild<?,?> build,
                      hudson.model.BuildListener listener)
               throws KarotzException
Triggered on build failure.

定義:
クラス KarotzEventHandler 内の onFailure
パラメータ:
build - The build in progress
listener - build listener
例外:
KarotzException

onUnstable

public void onUnstable(hudson.model.AbstractBuild<?,?> build,
                       hudson.model.BuildListener listener)
                throws KarotzException
Triggered on build unstable.

定義:
クラス KarotzEventHandler 内の onUnstable
パラメータ:
build - The build in progress
listener - build listener
例外:
KarotzException

onRecover

public void onRecover(hudson.model.AbstractBuild<?,?> build,
                      hudson.model.BuildListener listener)
               throws KarotzException
Triggered on build recover.

定義:
クラス KarotzEventHandler 内の onRecover
パラメータ:
build - The build in progress
listener - build listener
例外:
KarotzException

onSuccess

public void onSuccess(hudson.model.AbstractBuild<?,?> build,
                      hudson.model.BuildListener listener)
               throws KarotzException
Triggered on build success.

定義:
クラス KarotzEventHandler 内の onSuccess
パラメータ:
build - The build in progress
listener - build listener
例外:
KarotzException


Copyright © 2004-2012. All Rights Reserved.