com.atlassian.jira.plugin.report
Enum SubTaskInclusionOption
java.lang.Object
java.lang.Enum<SubTaskInclusionOption>
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
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
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.