Package net.sourceforge.pmd.benchmark
Enum Benchmark
- java.lang.Object
-
- java.lang.Enum<Benchmark>
-
- net.sourceforge.pmd.benchmark.Benchmark
-
- All Implemented Interfaces:
Serializable
,Comparable<Benchmark>
@Deprecated public enum Benchmark extends Enum<Benchmark>
Deprecated.Represents an execution phase for benchmarking purposes.- Author:
- Brian Remedios
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CollectFiles
Deprecated.DFA
Deprecated.LoadRules
Deprecated.MeasuredTotal
Deprecated.Multifile
Deprecated.NonMeasuredTotal
Deprecated.Parser
Deprecated.QualifiedNameResolution
Deprecated.Reporting
Deprecated.Rule
Deprecated.RuleChainRule
Deprecated.RuleChainTotal
Deprecated.RuleChainVisit
Deprecated.RuleTotal
Deprecated.SymbolTable
Deprecated.TotalPMD
Deprecated.TypeResolution
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Benchmark
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static Benchmark[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Rule
public static final Benchmark Rule
Deprecated.
-
RuleChainRule
public static final Benchmark RuleChainRule
Deprecated.
-
CollectFiles
public static final Benchmark CollectFiles
Deprecated.
-
LoadRules
public static final Benchmark LoadRules
Deprecated.
-
Parser
public static final Benchmark Parser
Deprecated.
-
QualifiedNameResolution
public static final Benchmark QualifiedNameResolution
Deprecated.
-
SymbolTable
public static final Benchmark SymbolTable
Deprecated.
-
DFA
public static final Benchmark DFA
Deprecated.
-
TypeResolution
public static final Benchmark TypeResolution
Deprecated.
-
RuleChainVisit
public static final Benchmark RuleChainVisit
Deprecated.
-
Multifile
public static final Benchmark Multifile
Deprecated.
-
Reporting
public static final Benchmark Reporting
Deprecated.
-
RuleTotal
public static final Benchmark RuleTotal
Deprecated.
-
RuleChainTotal
public static final Benchmark RuleChainTotal
Deprecated.
-
MeasuredTotal
public static final Benchmark MeasuredTotal
Deprecated.
-
NonMeasuredTotal
public static final Benchmark NonMeasuredTotal
Deprecated.
-
TotalPMD
public static final Benchmark TotalPMD
Deprecated.
-
-
Field Detail
-
index
public final int index
Deprecated.
-
name
public final String name
Deprecated.
-
-
Method Detail
-
values
public static Benchmark[] values()
Deprecated.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 (Benchmark c : Benchmark.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Benchmark valueOf(String name)
Deprecated.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
-
-