com.atlassian.jira.bc.issue.worklog
Enum TimeTrackingConfiguration.Mode

java.lang.Object
  extended by java.lang.Enum<TimeTrackingConfiguration.Mode>
      extended by com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration.Mode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimeTrackingConfiguration.Mode>
Enclosing interface:
TimeTrackingConfiguration

public static enum TimeTrackingConfiguration.Mode
extends java.lang.Enum<TimeTrackingConfiguration.Mode>

Describes the modes of operation for Time Tracking in JIRA.

Since:
v4.2

Enum Constant Summary
LEGACY
          Original and Remaining Estimate are presented in one field which "switches" its behaviour depending on the issue's state of work.
MODERN
          Original and Remaining Estimate are presented individually and are at all times independently editable.
 
Method Summary
static TimeTrackingConfiguration.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeTrackingConfiguration.Mode[] 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

LEGACY

public static final TimeTrackingConfiguration.Mode LEGACY
Original and Remaining Estimate are presented in one field which "switches" its behaviour depending on the issue's state of work.


MODERN

public static final TimeTrackingConfiguration.Mode MODERN
Original and Remaining Estimate are presented individually and are at all times independently editable.

Method Detail

values

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

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

valueOf

public static TimeTrackingConfiguration.Mode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2002-2011 Atlassian. All Rights Reserved.