public class AggregateTimeTrackingCalculatorFactoryImpl extends Object implements AggregateTimeTrackingCalculatorFactory
Constructor and Description |
---|
AggregateTimeTrackingCalculatorFactoryImpl(JiraAuthenticationContext context,
PermissionManager permissionManager)
Note.
|
Modifier and Type | Method and Description |
---|---|
AggregateTimeTrackingCalculator |
getCalculator(Issue issue)
Create a new instance of time tracing calculator based on the Issue implementation.
|
void |
setFieldManager(FieldManager fieldManager) |
void |
setSearchProvider(SearchProvider searchProvider) |
public AggregateTimeTrackingCalculatorFactoryImpl(JiraAuthenticationContext context, PermissionManager permissionManager)
FieldManager
or
SearchProvider
due to cyclic dependenciescontext
- JIRA authentication contextpermissionManager
- permission managerpublic AggregateTimeTrackingCalculator getCalculator(Issue issue)
AggregateTimeTrackingCalculatorFactory
Creates and returns a new instance of DocumentIssueAggregateTimeTrackingCalculator
if passed in
a DocumentIssueImpl
, else creates and returns a new instance
of IssueImplAggregateTimeTrackingCalculator
.
getCalculator
in interface AggregateTimeTrackingCalculatorFactory
issue
- Issue to compareDocumentIssueAggregateTimeTrackingCalculator
if passed in
a DocumentIssueImpl
, else returns a IssueImplAggregateTimeTrackingCalculator
public void setFieldManager(FieldManager fieldManager)
public void setSearchProvider(SearchProvider searchProvider)
Copyright © 2002-2019 Atlassian. All Rights Reserved.