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

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

public class ReportIssue
extends 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, Comparator comparator, org.apache.commons.collections.Predicate issueInclusionPredicate)
           
 
Method Summary
 String getAccuracy()
           
 String getAccuracyNice()
           
 String getAccuracyPercentage()
           
 String getAggregateAccuracy()
           
 String getAggregateAccuracyNice()
           
 String getAggregateAccuracyPercentage()
           
 String getAggregateOriginalEstimate()
           
 String getAggregateRemainingEstimate()
           
 String getAggregateTimeSpent()
           
 Issue getIssue()
           
 IssueType getIssueType()
           
 String getKey()
           
 String getOriginalEstimate()
           
 Issue getParent()
           
 Priority getPriority()
           
 String getRemainingEstimate()
           
 Status getStatus()
           
 Collection getSubTasks()
           
 String getSummary()
           
 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,
                   Comparator comparator,
                   org.apache.commons.collections.Predicate issueInclusionPredicate)
Method Detail

getKey

public String getKey()

getSummary

public String getSummary()

getIssueType

public IssueType getIssueType()

getPriority

public Priority getPriority()

getStatus

public Status getStatus()

getOriginalEstimate

public String getOriginalEstimate()

getAggregateOriginalEstimate

public String getAggregateOriginalEstimate()

getRemainingEstimate

public String getRemainingEstimate()

getAggregateRemainingEstimate

public String getAggregateRemainingEstimate()

getTimeSpent

public String getTimeSpent()

getAggregateTimeSpent

public String getAggregateTimeSpent()

getAccuracy

public String getAccuracy()

getAccuracyNice

public String getAccuracyNice()

getAccuracyPercentage

public String getAccuracyPercentage()

getAggregateAccuracyPercentage

public 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 String getAggregateAccuracy()

getAggregateAccuracyNice

public String getAggregateAccuracyNice()

onSchedule

public int onSchedule()

onScheduleAggregate

public int onScheduleAggregate()

getSubTasks

public Collection getSubTasks()

getIssue

public Issue getIssue()

isOrphan

public boolean isOrphan()

isSubTask

public boolean isSubTask()

getParent

public Issue getParent()


Copyright © 2002-2008 Atlassian. All Rights Reserved.