org.itracker.model
Enum IssueRelation.Type

java.lang.Object
  extended by java.lang.Enum<IssueRelation.Type>
      extended by org.itracker.model.IssueRelation.Type
All Implemented Interfaces:
Serializable, Comparable<IssueRelation.Type>
Enclosing class:
IssueRelation

public static enum IssueRelation.Type
extends Enum<IssueRelation.Type>


Enum Constant Summary
CLONED_C
          Defines a cloned issue.
CLONED_P
          Defines a cloned issue.
DEPENDENT_C
          Defines a dependent issue.
DEPENDENT_P
          Defines a dependent issue.
DUPLICATE_C
          Defines a duplicate issue.
DUPLICATE_P
          Defines a duplicate issue.
RELATED_C
          Defines a related issue.
RELATED_P
          Defines a related issue.
SPLIT_C
          Defines a split issue.
SPLIT_P
          Defines a split issue.
 
Method Summary
static IssueRelation.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IssueRelation.Type[] 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

RELATED_P

public static final IssueRelation.Type RELATED_P
Defines a related issue. Sample text: related to


RELATED_C

public static final IssueRelation.Type RELATED_C
Defines a related issue. Sample text: related to


DUPLICATE_P

public static final IssueRelation.Type DUPLICATE_P
Defines a duplicate issue. Sample text: duplicates


DUPLICATE_C

public static final IssueRelation.Type DUPLICATE_C
Defines a duplicate issue. Sample text: duplicate of


CLONED_P

public static final IssueRelation.Type CLONED_P
Defines a cloned issue. Sample text: cloned to


CLONED_C

public static final IssueRelation.Type CLONED_C
Defines a cloned issue. Sample text: cloned from


SPLIT_P

public static final IssueRelation.Type SPLIT_P
Defines a split issue. Sample text: split to


SPLIT_C

public static final IssueRelation.Type SPLIT_C
Defines a split issue. Sample text: split from


DEPENDENT_P

public static final IssueRelation.Type DEPENDENT_P
Defines a dependent issue. Sample text: dependents


DEPENDENT_C

public static final IssueRelation.Type DEPENDENT_C
Defines a dependent issue. Sample text: depends on

Method Detail

values

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

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

valueOf

public static IssueRelation.Type 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 © 2002-2012 itracker. All Rights Reserved.