com.atlassian.greenhopper.web.input
Enum ViewDefinition.PlanningBoardSubType

java.lang.Object
  extended by java.lang.Enum<ViewDefinition.PlanningBoardSubType>
      extended by com.atlassian.greenhopper.web.input.ViewDefinition.PlanningBoardSubType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ViewDefinition.PlanningBoardSubType>
Enclosing class:
ViewDefinition

public static enum ViewDefinition.PlanningBoardSubType
extends java.lang.Enum<ViewDefinition.PlanningBoardSubType>

Planning board types Will eventually have to be wrapped by a mutable object / class to cater for custom fields. enum is good enough for now


Enum Constant Summary
ASSIGNEE_BOARD
           
BACKLOG_BOARD
           
COMPONENT_BOARD
           
PROJECT_BOARD
           
VERSION_BOARD
           
 
Method Summary
static ViewDefinition.PlanningBoardSubType findByBoardName(java.lang.String boardName)
           
 java.lang.String getBoardName()
           
 java.lang.String getShortName()
           
static ViewDefinition.PlanningBoardSubType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ViewDefinition.PlanningBoardSubType[] 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

VERSION_BOARD

public static final ViewDefinition.PlanningBoardSubType VERSION_BOARD

ASSIGNEE_BOARD

public static final ViewDefinition.PlanningBoardSubType ASSIGNEE_BOARD

COMPONENT_BOARD

public static final ViewDefinition.PlanningBoardSubType COMPONENT_BOARD

BACKLOG_BOARD

public static final ViewDefinition.PlanningBoardSubType BACKLOG_BOARD

PROJECT_BOARD

public static final ViewDefinition.PlanningBoardSubType PROJECT_BOARD
Method Detail

values

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

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

valueOf

public static ViewDefinition.PlanningBoardSubType 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

getBoardName

public java.lang.String getBoardName()

getShortName

public java.lang.String getShortName()

findByBoardName

public static ViewDefinition.PlanningBoardSubType findByBoardName(java.lang.String boardName)


Copyright © 2007-2011 Atlassian. All Rights Reserved.