Package net.sourceforge.pmd.benchmark
Enum TimedOperationCategory
- java.lang.Object
-
- java.lang.Enum<TimedOperationCategory>
-
- net.sourceforge.pmd.benchmark.TimedOperationCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<TimedOperationCategory>
public enum TimedOperationCategory extends Enum<TimedOperationCategory>
A category for aTimedOperation
, rendered either as a section if several operations are registered on the same category but with distinct labels, or put into the "remaining categories" section.- Author:
- Juan MartÃn Sotuyo Dodero
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALYSIS_CACHE
COLLECT_FILES
FILE_PROCESSING
LANGUAGE_SPECIFIC_PROCESSING
Subdivided into one label for each stage.LOAD_RULES
PARSER
REPORTING
RULE
Rule execution proper.RULE_AST_INDEXATION
UNACCOUNTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
static TimedOperationCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static TimedOperationCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RULE
public static final TimedOperationCategory RULE
Rule execution proper.
-
COLLECT_FILES
public static final TimedOperationCategory COLLECT_FILES
-
LOAD_RULES
public static final TimedOperationCategory LOAD_RULES
-
PARSER
public static final TimedOperationCategory PARSER
-
LANGUAGE_SPECIFIC_PROCESSING
public static final TimedOperationCategory LANGUAGE_SPECIFIC_PROCESSING
Subdivided into one label for each stage.
-
RULE_AST_INDEXATION
public static final TimedOperationCategory RULE_AST_INDEXATION
-
REPORTING
public static final TimedOperationCategory REPORTING
-
FILE_PROCESSING
public static final TimedOperationCategory FILE_PROCESSING
-
ANALYSIS_CACHE
public static final TimedOperationCategory ANALYSIS_CACHE
-
UNACCOUNTED
public static final TimedOperationCategory UNACCOUNTED
-
-
Method Detail
-
values
public static TimedOperationCategory[] 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 (TimedOperationCategory c : TimedOperationCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimedOperationCategory 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 nameNullPointerException
- if the argument is null
-
displayName
public String displayName()
-
-