com.atlassian.greenhopper.service.rapid.view
Class RapidViewPresetService

java.lang.Object
  extended by com.atlassian.greenhopper.service.rapid.view.RapidViewPresetService

@Service
public class RapidViewPresetService
extends java.lang.Object

A service for constructing default Rapid View objects based on the Preset chosen for the Rapid View.


Field Summary
protected  LoggerWrapper log
           
 
Constructor Summary
RapidViewPresetService()
           
 
Method Summary
 java.util.List<Column> createColumnsForSimplifiedWorkflow(RapidViewPreset preset)
           
 com.atlassian.query.Query createDefaultBaseQuery(RapidViewPreset preset, java.util.List<com.atlassian.jira.project.Project> projects)
          Query for the filter: All issues in the project, order by global rank
 java.util.List<Column> createDefaultColumns(RapidViewPreset rapidViewPreset)
           
 StatisticsFieldConfig createDefaultEstimationStatisticConfig(RapidViewPreset rapidViewPreset)
           
 java.util.List<QuickFilter> createDefaultQuickFilters(RapidViewPreset rapidViewPreset)
           
 StatisticsFieldConfig createDefaultStatisticsField(RapidViewPreset rapidViewPreset)
           
 java.util.List<Subquery> createDefaultSubqueries(RapidViewPreset rapidViewPreset)
           
 java.util.List<Swimlane> createDefaultSwimlanes(RapidViewPreset rapidViewPreset)
           
 StatisticsFieldConfig createDefaultTrackingStatisticConfig(RapidViewPreset rapidViewPreset)
           
 WorkingDaysConfig createDefaultWorkingDaysConfig(com.atlassian.crowd.embedded.api.User user, RapidViewPreset rapidViewPreset)
           
 CardColorStrategy getDefaultCardColorStrategy(RapidViewPreset preset)
           
 SwimlaneStrategy getDefaultSwimlaneStrategy(RapidViewPreset rapidViewPreset)
           
 boolean isSprintSupportEnabled(RapidViewPreset rapidViewPreset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final LoggerWrapper log
Constructor Detail

RapidViewPresetService

public RapidViewPresetService()
Method Detail

createDefaultBaseQuery

public com.atlassian.query.Query createDefaultBaseQuery(RapidViewPreset preset,
                                                        java.util.List<com.atlassian.jira.project.Project> projects)
Query for the filter: All issues in the project, order by global rank

Parameters:
preset - the preset being employed
projects - the projects to query
Returns:
the query for a Rapid View of this preset and these projects

createDefaultStatisticsField

public StatisticsFieldConfig createDefaultStatisticsField(@NotNull
                                                          RapidViewPreset rapidViewPreset)

createDefaultColumns

public java.util.List<Column> createDefaultColumns(@NotNull
                                                   RapidViewPreset rapidViewPreset)

createDefaultSwimlanes

public java.util.List<Swimlane> createDefaultSwimlanes(RapidViewPreset rapidViewPreset)

createDefaultQuickFilters

public java.util.List<QuickFilter> createDefaultQuickFilters(@NotNull
                                                             RapidViewPreset rapidViewPreset)

isSprintSupportEnabled

public boolean isSprintSupportEnabled(RapidViewPreset rapidViewPreset)

createDefaultSubqueries

public java.util.List<Subquery> createDefaultSubqueries(@NotNull
                                                        RapidViewPreset rapidViewPreset)

createDefaultEstimationStatisticConfig

@NotNull
public StatisticsFieldConfig createDefaultEstimationStatisticConfig(@NotNull
                                                                            RapidViewPreset rapidViewPreset)

createDefaultTrackingStatisticConfig

@NotNull
public StatisticsFieldConfig createDefaultTrackingStatisticConfig(@NotNull
                                                                          RapidViewPreset rapidViewPreset)

getDefaultSwimlaneStrategy

@NotNull
public SwimlaneStrategy getDefaultSwimlaneStrategy(@NotNull
                                                           RapidViewPreset rapidViewPreset)

getDefaultCardColorStrategy

@NotNull
public CardColorStrategy getDefaultCardColorStrategy(RapidViewPreset preset)

createColumnsForSimplifiedWorkflow

public java.util.List<Column> createColumnsForSimplifiedWorkflow(RapidViewPreset preset)

createDefaultWorkingDaysConfig

@NotNull
public WorkingDaysConfig createDefaultWorkingDaysConfig(com.atlassian.crowd.embedded.api.User user,
                                                                @NotNull
                                                                RapidViewPreset rapidViewPreset)


Copyright © 2007-2013 Atlassian. All Rights Reserved.