public class AggregateTimeTrackingCalculatorFactoryImpl extends Object implements AggregateTimeTrackingCalculatorFactory
Constructor and Description |
---|
AggregateTimeTrackingCalculatorFactoryImpl(JiraAuthenticationContext context,
SearchProviderFactory searchProviderFactory,
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, SearchProviderFactory searchProviderFactory, PermissionManager permissionManager)
FieldManager
or
SearchProvider
due to cyclic dependenciescontext
- JIRA authentication contextsearchProviderFactory
- serach provider factorypermissionManager
- permission managerpublic AggregateTimeTrackingCalculator getCalculator(Issue issue)
AggregateTimeTrackingCalculatorFactory
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-2015 Atlassian. All Rights Reserved.