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

java.lang.Object
  extended by com.atlassian.jira.plugin.report.impl.UserSubTaskIncludeValuesGenerator
All Implemented Interfaces:
ValuesGenerator<String>

public class UserSubTaskIncludeValuesGenerator
extends Object
implements ValuesGenerator<String>

Generator for sub-task inclusion select box options.

Since:
v6.3

Field Summary
 
Fields inherited from interface com.atlassian.configurable.ValuesGenerator
NONE
 
Constructor Summary
UserSubTaskIncludeValuesGenerator(JiraAuthenticationContext authContext, I18nHelper.BeanFactory i18nHelperFactory)
           
 
Method Summary
 Map<String,String> getValues(Map userParams)
          Returns a new map of applicable options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSubTaskIncludeValuesGenerator

public UserSubTaskIncludeValuesGenerator(JiraAuthenticationContext authContext,
                                         I18nHelper.BeanFactory i18nHelperFactory)
Method Detail

getValues

public Map<String,String> getValues(Map userParams)
Returns a new map of applicable options. If sub-tasks are disabled returns a single option that says that this select box is not relevant.

Specified by:
getValues in interface ValuesGenerator<String>
Parameters:
userParams - map of user parameters
Returns:
new map of applicable options


Copyright © 2002-2014 Atlassian. All Rights Reserved.