com.atlassian.jira.plugin.report
Enum SubTaskInclusionOption

java.lang.Object
  extended by java.lang.Enum<SubTaskInclusionOption>
      extended by com.atlassian.jira.plugin.report.SubTaskInclusionOption
All Implemented Interfaces:
Serializable, Comparable<SubTaskInclusionOption>

public enum SubTaskInclusionOption
extends Enum<SubTaskInclusionOption>

The available options for subtask inclusion when configuring a JIRA project.

Since:
6.3

Enum Constant Summary
ALL
           
ASSIGNED_AND_UNASSIGNED
           
ONLY_ASSIGNED
           
ONLY_SELECTED_VERSION
           
SELECTED_AND_BLANK_VERSIONS
           
 
Method Summary
static SubTaskInclusionOption fromKey(String key)
           
 String getDescription(I18nHelper i18nHelper)
           
 String getKey()
           
static boolean isValidKey(String key)
           
static SubTaskInclusionOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SubTaskInclusionOption[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ONLY_ASSIGNED

public static final SubTaskInclusionOption ONLY_ASSIGNED

ASSIGNED_AND_UNASSIGNED

public static final SubTaskInclusionOption ASSIGNED_AND_UNASSIGNED

ONLY_SELECTED_VERSION

public static final SubTaskInclusionOption ONLY_SELECTED_VERSION

SELECTED_AND_BLANK_VERSIONS

public static final SubTaskInclusionOption SELECTED_AND_BLANK_VERSIONS

ALL

public static final SubTaskInclusionOption ALL
Method Detail

values

public static SubTaskInclusionOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SubTaskInclusionOption c : SubTaskInclusionOption.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SubTaskInclusionOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getKey

public String getKey()

getDescription

public String getDescription(I18nHelper i18nHelper)

fromKey

public static SubTaskInclusionOption fromKey(@Nonnull
                                             String key)

isValidKey

public static boolean isValidKey(String key)


Copyright © 2002-2014 Atlassian. All Rights Reserved.