com.atlassian.jira.issue.fields.layout.column
Enum ColumnLayout.ColumnConfig

java.lang.Object
  extended by java.lang.Enum<ColumnLayout.ColumnConfig>
      extended by com.atlassian.jira.issue.fields.layout.column.ColumnLayout.ColumnConfig
All Implemented Interfaces:
Serializable, Comparable<ColumnLayout.ColumnConfig>
Enclosing interface:
ColumnLayout

public static enum ColumnLayout.ColumnConfig
extends Enum<ColumnLayout.ColumnConfig>

Represents the cause or source of columns in an issue table, e.g. whether they were requested explicitly, configured as the columns of a filter or the user's configured defaults.

Since:
v6.1

Enum Constant Summary
EXPLICIT
          Columns were explicitly listed in the issue table request.
FILTER
          Columns come from the filter.
NONE
          No columns are used.
SYSTEM
          Columns come from the system defaults
USER
          Columns come from the user's default column config.
 
Method Summary
static ColumnLayout.ColumnConfig byValueIgnoreCase(String value)
          Gets a ColumnConfig by string value (name).
static ColumnLayout.ColumnConfig valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ColumnLayout.ColumnConfig[] 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

SYSTEM

public static final ColumnLayout.ColumnConfig SYSTEM
Columns come from the system defaults


EXPLICIT

public static final ColumnLayout.ColumnConfig EXPLICIT
Columns were explicitly listed in the issue table request.


FILTER

public static final ColumnLayout.ColumnConfig FILTER
Columns come from the filter.


USER

public static final ColumnLayout.ColumnConfig USER
Columns come from the user's default column config.


NONE

public static final ColumnLayout.ColumnConfig NONE
No columns are used. The default value.

Method Detail

values

public static ColumnLayout.ColumnConfig[] 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 (ColumnLayout.ColumnConfig c : ColumnLayout.ColumnConfig.values())
    System.out.println(c);

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

valueOf

public static ColumnLayout.ColumnConfig 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

byValueIgnoreCase

public static ColumnLayout.ColumnConfig byValueIgnoreCase(@Nullable
                                                          String value)
Gets a ColumnConfig by string value (name).

Parameters:
value - the case insensitive name to get the value for.
Returns:
the instance that corresponds to the given value or null if none exists.


Copyright © 2002-2014 Atlassian. All Rights Reserved.