hudson.plugins.persona.simple
クラス SimplePersona
java.lang.Object
hudson.plugins.persona.Persona
hudson.plugins.persona.simple.SimplePersona
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.ModelObject
- 直系の既知のサブクラス:
- RandomPersona, XmlBasedPersona
public abstract class SimplePersona
- extends Persona
Partial implementation of Persona that renders the plain text quote with an icon.
- 作成者:
- Kohsuke Kawaguchi
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| クラス hudson.plugins.persona.Persona から継承されたフィールド |
id |
|
コンストラクタの概要 |
protected |
SimplePersona(java.lang.String id,
java.util.List<java.lang.String> quotes,
java.util.List<java.lang.String> quotesSuccess,
java.util.List<java.lang.String> quotesFailure,
java.util.List<java.lang.String> quotesOther)
|
|
メソッドの概要 |
Quote |
generateProjectQuote(hudson.model.AbstractProject<?,?> project,
LocationSelector selector)
Generates a random quote for the project top page. |
Quote |
generateQuote(hudson.model.AbstractBuild<?,?> build,
LocationSelector selector)
Generates a random quote for the given build. |
abstract Image |
getDefaultImage()
|
abstract Image |
getImage(hudson.model.AbstractBuild<?,?> build)
Determines the icon and the background to render. |
java.lang.String |
getRandomQuoteText(hudson.model.AbstractBuild<?,?> build)
|
protected void |
setQuotes(java.util.List<java.lang.String> quotes,
java.util.List<java.lang.String> quotesSuccess,
java.util.List<java.lang.String> quotesFailure,
java.util.List<java.lang.String> quotesOther)
|
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース hudson.model.ModelObject から継承されたメソッド |
getDisplayName |
SimplePersona
protected SimplePersona(java.lang.String id,
java.util.List<java.lang.String> quotes,
java.util.List<java.lang.String> quotesSuccess,
java.util.List<java.lang.String> quotesFailure,
java.util.List<java.lang.String> quotesOther)
- パラメータ:
id - Unique identifier of this persona.quotes - Collection of quotes.quotesSuccess - Collection of success quotes.quotesFailure - Collection of failure quotes.quotesOther - Collection of other quotes.
setQuotes
protected void setQuotes(java.util.List<java.lang.String> quotes,
java.util.List<java.lang.String> quotesSuccess,
java.util.List<java.lang.String> quotesFailure,
java.util.List<java.lang.String> quotesOther)
getImage
public abstract Image getImage(hudson.model.AbstractBuild<?,?> build)
- Determines the icon and the background to render.
getDefaultImage
public abstract Image getDefaultImage()
generateQuote
public Quote generateQuote(hudson.model.AbstractBuild<?,?> build,
LocationSelector selector)
- クラス
Persona の記述:
- Generates a random quote for the given build.
- 定義:
- クラス
Persona 内の generateQuote
- 関連項目:
AbstractQuoteImpl
getRandomQuoteText
public java.lang.String getRandomQuoteText(hudson.model.AbstractBuild<?,?> build)
generateProjectQuote
public Quote generateProjectQuote(hudson.model.AbstractProject<?,?> project,
LocationSelector selector)
- クラス
Persona の記述:
- Generates a random quote for the project top page.
- 定義:
- クラス
Persona 内の generateProjectQuote
- 関連項目:
AbstractQuoteImpl
Copyright © 2004-2012. All Rights Reserved.