public class XmlBasedPersona extends SimplePersona
SimplePersona implementation based on XML file.Persona.ConverterImpl| 修飾子とタイプ | メソッドと説明 |
|---|---|
static XmlBasedPersona |
create(URL xml,
URL imageBase,
String imageBasePath)
Parses a persona from an XML file.
|
Image |
getDefaultImage() |
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.
|
generateProjectQuote, generateQuote, getRandomQuoteText, setQuotespublic final URL xml
public static XmlBasedPersona create(URL xml, URL imageBase, String imageBasePath) throws org.dom4j.DocumentException, IOException
xml - Location of the XML file.imageBase - Base URL to find images like icon.png, success.jpg, and so on.org.dom4j.DocumentExceptionIOExceptionpublic void reload()
throws IOException,
org.dom4j.DocumentException
IOExceptionorg.dom4j.DocumentExceptionpublic Image getImage(hudson.model.AbstractBuild<?,?> build)
SimplePersonagetImage クラス内 SimplePersonapublic Image getDefaultImage()
getDefaultImage クラス内 SimplePersonapublic String getDisplayName()
Copyright © 2004-2013. All Rights Reserved.