com.atlassian.jira.rest.client.api.domain.input
Enum WorklogInput.AdjustEstimate

java.lang.Object
  extended by java.lang.Enum<WorklogInput.AdjustEstimate>
      extended by com.atlassian.jira.rest.client.api.domain.input.WorklogInput.AdjustEstimate
All Implemented Interfaces:
Serializable, Comparable<WorklogInput.AdjustEstimate>
Enclosing class:
WorklogInput

public static enum WorklogInput.AdjustEstimate
extends Enum<WorklogInput.AdjustEstimate>


Enum Constant Summary
AUTO
          Automatically decrease estimate based on given time spent.
LEAVE
          Leave estimate as is.
MANUAL
          Decrease estimate manually by given value.
NEW
          Set remaining estimate to given value.
 
Field Summary
 String restValue
           
 
Method Summary
static WorklogInput.AdjustEstimate valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WorklogInput.AdjustEstimate[] 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

NEW

public static final WorklogInput.AdjustEstimate NEW
Set remaining estimate to given value.


LEAVE

public static final WorklogInput.AdjustEstimate LEAVE
Leave estimate as is.


MANUAL

public static final WorklogInput.AdjustEstimate MANUAL
Decrease estimate manually by given value.


AUTO

public static final WorklogInput.AdjustEstimate AUTO
Automatically decrease estimate based on given time spent. This is the default value.

Field Detail

restValue

public final String restValue
Method Detail

values

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

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

valueOf

public static WorklogInput.AdjustEstimate 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 © 2014 Atlassian. All Rights Reserved.