example.de.smartics.properties.userstory
Enum Priority

java.lang.Object
  extended by java.lang.Enum<Priority>
      extended by example.de.smartics.properties.userstory.Priority
All Implemented Interfaces:
Serializable, Comparable< Priority>

public enum Priority
     
     
extends Enum< Priority>

The valid priority values for user stories.


Enum Constant Summary
DISPENSABLE
          The story is not necessary to be part of the release, but may be included if resources are available.
NICE_TO_HAVE
          The story is a nice-to-have for the final product, but not relevant for the release.
POLISHING
          The story would add to the user experience of the user, but is not relevant for the release.
REQUIRED
          The story is required for the final product.
VERY_IMPORTANT
          The story is very important for the final product.
 
Method Summary
static Priority fromString(String valueAsString)
           
 String getId()
          Returns the identifier of the priority.
 int getPriorityValue()
          Returns the value of the priority.
 List<Priority> getValues()
           
 boolean isCommented()
           
 String toString()
           
static String toString(Locale locale)
           
static Priority valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Priority[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUIRED

public static final Priority REQUIRED
The story is required for the final product.


VERY_IMPORTANT

public static final Priority VERY_IMPORTANT
The story is very important for the final product.


NICE_TO_HAVE

public static final Priority NICE_TO_HAVE
The story is a nice-to-have for the final product, but not relevant for the release.


POLISHING

public static final Priority POLISHING
The story would add to the user experience of the user, but is not relevant for the release.


DISPENSABLE

public static final Priority DISPENSABLE
The story is not necessary to be part of the release, but may be included if resources are available. If the product backlog contains only dispensable stores, the development is likely to come to an end.

The priority is available to keep stories in the product backlog for further references.

Method Detail

values

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

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

valueOf

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

getId

public String getId()
Returns the identifier of the priority. This value is used for resource lookups.

Returns:
the identifier of the priority.

getPriorityValue

public int getPriorityValue()
Returns the value of the priority.

Returns:
the value of the priority.

isCommented

public boolean isCommented()

getValues

public List<Priority> getValues()

fromString

public static Priority fromString(String valueAsString)
                           throws IllegalArgumentException
Throws:
IllegalArgumentException

toString

public static String toString(Locale locale)

toString

public String toString()
Overrides:
toString in class Enum<Priority>


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.