org.xwiki.rendering.macro.jira
Interface JIRAFieldDisplayer


@Role
public interface JIRAFieldDisplayer

Defines how to display a JIRA issue field (for example the "Key" field can be displayed with a link to the JIRA issue, date fields can have their dates formatted in a special way, "status" field can be displayed with an icon, etc).

Since:
4.2M1
Version:
$Id: 8eb3b05632dc436c468ef9d4abe27f6a2fcc924e $

Method Summary
 List<Block> displayField(String fieldName, org.jdom2.Element issue)
          Generate Blocks to display the passed field.
 

Method Detail

displayField

List<Block> displayField(String fieldName,
                         org.jdom2.Element issue)
Generate Blocks to display the passed field.

Parameters:
fieldName - the name of the field to display
issue - the JIRA issue as an XML element, can be used to extract information useful to generate the display
Returns:
the list of Blocks to display the passed field


Copyright © 2004-2012 XWiki. All Rights Reserved.