org.nuiton.jredmine.plugin.report
Enum IssueReportGenerator.ReportColumn

java.lang.Object
  extended by java.lang.Enum<IssueReportGenerator.ReportColumn>
      extended by org.nuiton.jredmine.plugin.report.IssueReportGenerator.ReportColumn
All Implemented Interfaces:
Serializable, Comparable<IssueReportGenerator.ReportColumn>
Enclosing class:
IssueReportGenerator

public static enum IssueReportGenerator.ReportColumn
extends Enum<IssueReportGenerator.ReportColumn>

Universe of columns of the report.

Can retreave th i18n header key by getI18nKey() and have the logic of each cell generation in the method sinkInsideCell(org.apache.maven.doxia.sink.Sink, org.nuiton.jredmine.plugin.report.IssueReportGenerator, org.nuiton.jredmine.model.Issue)


Enum Constant Summary
assignee
           
category
           
createdon
           
key
           
priority
           
reporter
           
status
           
summary
           
tracker
           
updatedon
           
version
           
 
Method Summary
 void collectGroups(Issue[] issues, Map<Integer,List<Issue>> groups)
           
protected abstract  Integer getGroupId(Issue issue)
           
 String getI18nKey()
           
 boolean isCanGroup()
           
abstract  void sinkInsideCell(org.apache.maven.doxia.sink.Sink sink, IssueReportGenerator generator, Issue issue)
           
static IssueReportGenerator.ReportColumn valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IssueReportGenerator.ReportColumn[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

key

public static final IssueReportGenerator.ReportColumn key

summary

public static final IssueReportGenerator.ReportColumn summary

status

public static final IssueReportGenerator.ReportColumn status

assignee

public static final IssueReportGenerator.ReportColumn assignee

reporter

public static final IssueReportGenerator.ReportColumn reporter

tracker

public static final IssueReportGenerator.ReportColumn tracker

priority

public static final IssueReportGenerator.ReportColumn priority

version

public static final IssueReportGenerator.ReportColumn version

category

public static final IssueReportGenerator.ReportColumn category

createdon

public static final IssueReportGenerator.ReportColumn createdon

updatedon

public static final IssueReportGenerator.ReportColumn updatedon
Method Detail

values

public static IssueReportGenerator.ReportColumn[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IssueReportGenerator.ReportColumn c : IssueReportGenerator.ReportColumn.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IssueReportGenerator.ReportColumn valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isCanGroup

public boolean isCanGroup()

getI18nKey

public String getI18nKey()

sinkInsideCell

public abstract void sinkInsideCell(org.apache.maven.doxia.sink.Sink sink,
                                    IssueReportGenerator generator,
                                    Issue issue)

getGroupId

protected abstract Integer getGroupId(Issue issue)

collectGroups

public void collectGroups(Issue[] issues,
                          Map<Integer,List<Issue>> groups)


Copyright © 2009-2010 CodeLutin. All Rights Reserved.