com.atlassian.jira.hints
Enum HintManager.Context

java.lang.Object
  extended by java.lang.Enum<HintManager.Context>
      extended by com.atlassian.jira.hints.HintManager.Context
All Implemented Interfaces:
Serializable, Comparable<HintManager.Context>
Enclosing interface:
HintManager

public static enum HintManager.Context
extends Enum<HintManager.Context>

A number of different contexts that hints may be displayed for.


Enum Constant Summary
ASSIGN
           
ATTACH
           
CLONE
           
COMMENT
           
DELETE_FILTER
           
DELETE_ISSUE
           
LABELS
           
LINK
           
LOG_WORK
           
TRANSITION
           
 
Method Summary
static HintManager.Context valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HintManager.Context[] 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

CLONE

public static final HintManager.Context CLONE

DELETE_FILTER

public static final HintManager.Context DELETE_FILTER

COMMENT

public static final HintManager.Context COMMENT

ASSIGN

public static final HintManager.Context ASSIGN

ATTACH

public static final HintManager.Context ATTACH

TRANSITION

public static final HintManager.Context TRANSITION

DELETE_ISSUE

public static final HintManager.Context DELETE_ISSUE

LABELS

public static final HintManager.Context LABELS

LINK

public static final HintManager.Context LINK

LOG_WORK

public static final HintManager.Context LOG_WORK
Method Detail

values

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

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

valueOf

public static HintManager.Context 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


Copyright © 2002-2014 Atlassian. All Rights Reserved.