com.atlassian.theplugin.commons.crucible.api.model
Enum Action

java.lang.Object
  extended by java.lang.Enum<Action>
      extended by com.atlassian.theplugin.commons.crucible.api.model.Action
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Action>

public enum Action
extends java.lang.Enum<Action>


Enum Constant Summary
ABANDON
           
APPROVE
           
CLOSE
           
COMMENT
           
COMPLETE
           
CREATE
           
DELETE
           
MODIFYFILES
           
RECOVER
           
REJECT
           
REOPEN
           
SUBMIT
           
SUMMARIZE
           
UNCOMPLETE
           
VIEW
           
 
Method Summary
 java.lang.String actionName()
           
 java.lang.String displayName()
           
static Action fromValue(java.lang.String v)
           
static Action valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Action[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VIEW

public static final Action VIEW

CREATE

public static final Action CREATE

ABANDON

public static final Action ABANDON

SUBMIT

public static final Action SUBMIT

APPROVE

public static final Action APPROVE

REJECT

public static final Action REJECT

SUMMARIZE

public static final Action SUMMARIZE

CLOSE

public static final Action CLOSE

REOPEN

public static final Action REOPEN

RECOVER

public static final Action RECOVER

COMPLETE

public static final Action COMPLETE

UNCOMPLETE

public static final Action UNCOMPLETE

COMMENT

public static final Action COMMENT

MODIFYFILES

public static final Action MODIFYFILES

DELETE

public static final Action DELETE
Method Detail

values

public static final Action[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Action c : Action.values())
        System.out.println(c);

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

valueOf

public static Action 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

displayName

public java.lang.String displayName()

actionName

public java.lang.String actionName()

fromValue

public static Action fromValue(java.lang.String v)


Copyright © 2008-2009 Atlassian Pty Ltd. All Rights Reserved.