javarequirementstracer
Enum AttributeId

java.lang.Object
  extended by java.lang.Enum<AttributeId>
      extended by javarequirementstracer.AttributeId
All Implemented Interfaces:
Serializable, Comparable<AttributeId>

public enum AttributeId
extends Enum<AttributeId>

IDs for key elements in the XHTML report. Key elements have an id attribute, enabling the report to be parsed by tools.

Author:
Ronald Koster

Enum Constant Summary
ALL_TYPES_COUNT
           
BUILD_NUMBER
           
CODE_COVERAGE
           
CODE_COVERAGE_DESCRIPTION
           
CODE_ELEMENT_TO_REQUIREMENTS
           
COVERAGES
           
EXCLUDE_PACKAGE_NAMES
           
EXCLUDE_TYPE_NAMES
           
INCLUDE_PACKAGE_NAMES
           
INCLUDE_TEST_CODE
           
MISSING_REQUIREMENTS
           
REPORTER_INFO
           
REQUIRED_LABEL_COUNT
           
REQUIREMENT_DESCRIPTIONS
           
REQUIREMENT_TO_CODE_ELEMENTS
           
REQUIREMENTS_COVERAGE
           
REQUIREMENTS_COVERAGE_DESCRIPTION
           
ROOT_PACKAGE_NAME
           
TIMESTAMP
           
UNKNOWN_REQUIREMENTS
           
UNTRACEABLE_TYPES
           
 
Method Summary
static AttributeId valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeId[] 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

REPORTER_INFO

public static final AttributeId REPORTER_INFO

TIMESTAMP

public static final AttributeId TIMESTAMP

BUILD_NUMBER

public static final AttributeId BUILD_NUMBER

COVERAGES

public static final AttributeId COVERAGES

CODE_COVERAGE

public static final AttributeId CODE_COVERAGE

CODE_COVERAGE_DESCRIPTION

public static final AttributeId CODE_COVERAGE_DESCRIPTION

REQUIREMENTS_COVERAGE

public static final AttributeId REQUIREMENTS_COVERAGE

REQUIREMENTS_COVERAGE_DESCRIPTION

public static final AttributeId REQUIREMENTS_COVERAGE_DESCRIPTION

REQUIRED_LABEL_COUNT

public static final AttributeId REQUIRED_LABEL_COUNT

ALL_TYPES_COUNT

public static final AttributeId ALL_TYPES_COUNT

ROOT_PACKAGE_NAME

public static final AttributeId ROOT_PACKAGE_NAME

INCLUDE_PACKAGE_NAMES

public static final AttributeId INCLUDE_PACKAGE_NAMES

EXCLUDE_PACKAGE_NAMES

public static final AttributeId EXCLUDE_PACKAGE_NAMES

EXCLUDE_TYPE_NAMES

public static final AttributeId EXCLUDE_TYPE_NAMES

INCLUDE_TEST_CODE

public static final AttributeId INCLUDE_TEST_CODE

MISSING_REQUIREMENTS

public static final AttributeId MISSING_REQUIREMENTS

UNKNOWN_REQUIREMENTS

public static final AttributeId UNKNOWN_REQUIREMENTS

UNTRACEABLE_TYPES

public static final AttributeId UNTRACEABLE_TYPES

REQUIREMENT_TO_CODE_ELEMENTS

public static final AttributeId REQUIREMENT_TO_CODE_ELEMENTS

CODE_ELEMENT_TO_REQUIREMENTS

public static final AttributeId CODE_ELEMENT_TO_REQUIREMENTS

REQUIREMENT_DESCRIPTIONS

public static final AttributeId REQUIREMENT_DESCRIPTIONS
Method Detail

values

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

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

valueOf

public static AttributeId 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 © 2010. All Rights Reserved.