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
| クラス 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 id,
java.lang.String password,
java.lang.String onlyOnFailureOrRecovery,
java.lang.String includeUrl)
|
| クラス hudson.tasks.Notifier から継承されたメソッド |
getDescriptor |
| クラス hudson.tasks.Publisher から継承されたメソッド |
all, getProjectAction, needsToRunAfterFinalized, prebuild |
| クラス hudson.tasks.BuildStepCompatibilityLayer から継承されたメソッド |
getProjectAction, perform, prebuild |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース hudson.tasks.BuildStep から継承されたメソッド |
getProjectAction, prebuild |
TwitterPublisher
@DataBoundConstructor
public TwitterPublisher(java.lang.String id,
java.lang.String password,
java.lang.String onlyOnFailureOrRecovery,
java.lang.String includeUrl)
getId
public java.lang.String getId()
getIncludeUrl
public java.lang.Boolean getIncludeUrl()
getOnlyOnFailureOrRecovery
public java.lang.Boolean getOnlyOnFailureOrRecovery()
getPassword
public java.lang.String getPassword()
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 © 2009. All Rights Reserved.