com.atlassian.jira.plugin.report.impl
Class ReportIssue

java.lang.Object
  extended by com.atlassian.jira.plugin.report.impl.ReportIssue

public class ReportIssue
extends java.lang.Object

Issue wrapper that is used by the TimeTracking report.

This class provides all data that the view (UI) needs, including formatting support.

Since:
v3.11

Constructor Summary
ReportIssue(Issue issue, AggregateTimeTrackingCalculator aggregateCalculator, com.atlassian.jira.plugin.report.impl.DurationFormatter durationFormatter, com.atlassian.jira.plugin.report.impl.AccuracyCalculator accuracyCalculator, java.util.Comparator comparator, org.apache.commons.collections.Predicate issueInclusionPredicate)
           
 
Method Summary
 java.lang.String getAccuracy()
           
 java.lang.String getAccuracyNice()
           
 java.lang.String getAccuracyPercentage()
           
 java.lang.String getAggregateAccuracy()
           
 java.lang.String getAggregateAccuracyNice()
           
 java.lang.String getAggregateAccuracyPercentage()
           
 java.lang.String getAggregateOriginalEstimate()
           
 java.lang.String getAggregateRemainingEstimate()
           
 java.lang.String getAggregateTimeSpent()
           
 Issue getIssue()
           
 IssueType getIssueType()
           
 java.lang.String getKey()
           
 java.lang.String getOriginalEstimate()
           
 Issue getParent()
           
 Priority getPriority()
           
 java.lang.String getRemainingEstimate()
           
 Status getStatus()
           
 java.util.Collection getSubTasks()
           
 java.lang.String getSummary()
           
 java.lang.String getTimeSpent()
           
 boolean hasAggregateOriginalEstimate()
           
 boolean hasOriginalEstimate()
           
 boolean isAggregateTimeTracked()
          Are there are any aggregate values against this issue at all.
 boolean isOrphan()
           
 boolean isSubTask()
           
 boolean isTimeTracked()
          Are there are any values against this issue at all.
 int onSchedule()
           
 int onScheduleAggregate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportIssue

public ReportIssue(Issue issue,
                   AggregateTimeTrackingCalculator aggregateCalculator,
                   com.atlassian.jira.plugin.report.impl.DurationFormatter durationFormatter,
                   com.atlassian.jira.plugin.report.impl.AccuracyCalculator accuracyCalculator,
                   java.util.Comparator comparator,
                   org.apache.commons.collections.Predicate issueInclusionPredicate)
Method Detail

getKey

public java.lang.String getKey()

getSummary

public java.lang.String getSummary()

getIssueType

public IssueType getIssueType()

getPriority

public Priority getPriority()

getStatus

public Status getStatus()

getOriginalEstimate

public java.lang.String getOriginalEstimate()

getAggregateOriginalEstimate

public java.lang.String getAggregateOriginalEstimate()

getRemainingEstimate

public java.lang.String getRemainingEstimate()

getAggregateRemainingEstimate

public java.lang.String getAggregateRemainingEstimate()

getTimeSpent

public java.lang.String getTimeSpent()

getAggregateTimeSpent

public java.lang.String getAggregateTimeSpent()

getAccuracy

public java.lang.String getAccuracy()

getAccuracyNice

public java.lang.String getAccuracyNice()

getAccuracyPercentage

public java.lang.String getAccuracyPercentage()

getAggregateAccuracyPercentage

public java.lang.String getAggregateAccuracyPercentage()

isTimeTracked

public boolean isTimeTracked()
Are there are any values against this issue at all.

Returns:
true if any times have been logged or estimated.

isAggregateTimeTracked

public boolean isAggregateTimeTracked()
Are there are any aggregate values against this issue at all.

Returns:
true if any times have been logged or estimated in aggregate.

hasOriginalEstimate

public boolean hasOriginalEstimate()

hasAggregateOriginalEstimate

public boolean hasAggregateOriginalEstimate()

getAggregateAccuracy

public java.lang.String getAggregateAccuracy()

getAggregateAccuracyNice

public java.lang.String getAggregateAccuracyNice()

onSchedule

public int onSchedule()

onScheduleAggregate

public int onScheduleAggregate()

getSubTasks

public java.util.Collection getSubTasks()

getIssue

public Issue getIssue()

isOrphan

public boolean isOrphan()

isSubTask

public boolean isSubTask()

getParent

public Issue getParent()


Copyright © 2002-2010 Atlassian. All Rights Reserved.