hudson.plugins.twitter
クラス TwitterPublisher

java.lang.Object
  上位を拡張 hudson.tasks.BuildStepCompatibilityLayer
      上位を拡張 hudson.tasks.Publisher
          上位を拡張 hudson.tasks.Notifier
              上位を拡張 hudson.plugins.twitter.TwitterPublisher
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class TwitterPublisher
extends hudson.tasks.Notifier

作成者:
cactusman, justinedelson

入れ子のクラスの概要
static class TwitterPublisher.DescriptorImpl
           
 
クラス hudson.tasks.Publisher から継承された入れ子のクラス/インタフェース
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
インタフェース hudson.tasks.BuildStep から継承された入れ子のクラス/インタフェース
hudson.tasks.BuildStep.PublisherList
 
フィールドの概要
 
インタフェース hudson.tasks.BuildStep から継承されたフィールド
BUILDERS, PUBLISHERS
 
コンストラクタの概要
TwitterPublisher(java.lang.String onlyOnFailureOrRecovery, java.lang.String includeUrl)
           
 
メソッドの概要
 java.lang.Boolean getIncludeUrl()
           
 java.lang.Boolean getOnlyOnFailureOrRecovery()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
protected  boolean isFailureOrRecovery(hudson.model.AbstractBuild<?,?> build)
          Determine if this build represents a failure or recovery.
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
protected  boolean shouldIncludeUrl()
           
protected  boolean shouldTweet(hudson.model.AbstractBuild<?,?> build)
          Determine if this build results should be tweeted.
 
クラス hudson.tasks.Notifier から継承されたメソッド
getDescriptor
 
クラス hudson.tasks.Publisher から継承されたメソッド
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
クラス hudson.tasks.BuildStepCompatibilityLayer から継承されたメソッド
getProjectAction, getProjectActions, perform, prebuild
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース hudson.tasks.BuildStep から継承されたメソッド
getProjectAction, getProjectActions, prebuild
 

コンストラクタの詳細

TwitterPublisher

@DataBoundConstructor
public TwitterPublisher(java.lang.String onlyOnFailureOrRecovery,
                                             java.lang.String includeUrl)
メソッドの詳細

getIncludeUrl

public java.lang.Boolean getIncludeUrl()

getOnlyOnFailureOrRecovery

public java.lang.Boolean getOnlyOnFailureOrRecovery()

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
定義:
インタフェース hudson.tasks.BuildStep 内の perform
オーバーライド:
クラス hudson.tasks.BuildStepCompatibilityLayer 内の perform

isFailureOrRecovery

protected boolean isFailureOrRecovery(hudson.model.AbstractBuild<?,?> build)
Determine if this build represents a failure or recovery. A build failure includes both failed and unstable builds. A recovery is defined as a successful build that follows a build that was not successful. Always returns false for aborted builds.

パラメータ:
build - the Build object
戻り値:
true if this build represents a recovery or failure

shouldIncludeUrl

protected boolean shouldIncludeUrl()

shouldTweet

protected boolean shouldTweet(hudson.model.AbstractBuild<?,?> build)
Determine if this build results should be tweeted. Uses the local settings if they are provided, otherwise the global settings.

パラメータ:
build - the Build object
戻り値:
true if we should tweet this build result


Copyright © 2010. All Rights Reserved.