hudson.plugins.persona.xml
クラス XmlBasedPersona

java.lang.Object
  上位を拡張 hudson.plugins.persona.Persona
      上位を拡張 hudson.plugins.persona.simple.SimplePersona
          上位を拡張 hudson.plugins.persona.xml.XmlBasedPersona
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.ModelObject

public class XmlBasedPersona
extends SimplePersona

SimplePersona implementation based on XML file.

作成者:
Kohsuke Kawaguchi

入れ子のクラスの概要
 
クラス hudson.plugins.persona.Persona から継承された入れ子のクラス/インタフェース
Persona.ConverterImpl
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
フィールドの概要
 java.net.URL xml
           
 
クラス hudson.plugins.persona.Persona から継承されたフィールド
id
 
メソッドの概要
static XmlBasedPersona create(java.net.URL xml, java.net.URL imageBase, java.lang.String imageBasePath)
          Parses a persona from an XML file.
 Image getDefaultImage()
           
 java.lang.String getDisplayName()
           
 Image getImage(hudson.model.AbstractBuild<?,?> build)
          Determines the icon and the background to render.
 void reload()
          Reloads the configuration of this persona from its original XML.
 
クラス hudson.plugins.persona.simple.SimplePersona から継承されたメソッド
generateProjectQuote, generateQuote, getRandomQuoteText, setQuotes
 
クラス hudson.plugins.persona.Persona から継承されたメソッド
all, byId
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

xml

public final java.net.URL xml
メソッドの詳細

create

public static XmlBasedPersona create(java.net.URL xml,
                                     java.net.URL imageBase,
                                     java.lang.String imageBasePath)
                              throws org.dom4j.DocumentException,
                                     java.io.IOException
Parses a persona from an XML file.

パラメータ:
xml - Location of the XML file.
imageBase - Base URL to find images like icon.png, success.jpg, and so on.
例外:
org.dom4j.DocumentException
java.io.IOException

reload

public void reload()
            throws java.io.IOException,
                   org.dom4j.DocumentException
Reloads the configuration of this persona from its original XML.

例外:
java.io.IOException
org.dom4j.DocumentException

getImage

public Image getImage(hudson.model.AbstractBuild<?,?> build)
クラス SimplePersona の記述:
Determines the icon and the background to render.

定義:
クラス SimplePersona 内の getImage

getDefaultImage

public Image getDefaultImage()
定義:
クラス SimplePersona 内の getDefaultImage

getDisplayName

public java.lang.String getDisplayName()


Copyright © 2004-2012. All Rights Reserved.