|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GraphType>
hudson.plugins.pmd.util.GraphType
public enum GraphType
The available types for the trend graph.
| Enum Constant Summary | |
|---|---|
DIFFERENCE
FIXME. |
|
FIXED
Warnings by new versus fixed. |
|
HEALTH
Warnings by health trend. |
|
NONE
No graph at all. |
|
PRIORITY
Warnings by priority. |
|
| Method Summary | |
|---|---|
abstract org.jfree.chart.JFreeChart |
createGraph(GraphConfiguration configuration,
AbstractHealthDescriptor healthDescriptor,
ResultAction<? extends BuildResult> resultAction,
java.lang.String pluginName)
Creates the graph. |
java.lang.String |
getId()
Returns a unique ID for this type. |
static GraphType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GraphType[] |
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 |
|---|
public static final GraphType NONE
public static final GraphType PRIORITY
public static final GraphType FIXED
public static final GraphType DIFFERENCE
public static final GraphType HEALTH
| Method Detail |
|---|
public static GraphType[] values()
for (GraphType c : GraphType.values()) System.out.println(c);
public static GraphType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public abstract org.jfree.chart.JFreeChart createGraph(GraphConfiguration configuration,
AbstractHealthDescriptor healthDescriptor,
ResultAction<? extends BuildResult> resultAction,
java.lang.String pluginName)
configuration - the configuration parametershealthDescriptor - the health descriptorresultAction - the action to start the graph withpluginName - the name of the plug-in
public java.lang.String getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||