Skip to content

Commit

Permalink
Simplify the plotter Column naming & R5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishrock123 committed Feb 10, 2012
1 parent 5a6f0e2 commit 7872e7a
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Bukkit/Metrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,25 @@ public class Metrics {
* Interface used to collect custom data for a plugin
*/
public static abstract class Plotter {

String ColumnName;

/**
* Set the column name for the plotted point
*
* @param ColumnName
*/
public Plotter(String ColumnName) {
this.ColumnName = ColumnName;
}

/**
* Get the column name for the plotted point
*
* @return the plotted point's column name
*/
public abstract String getColumnName();

public String getColumnName() {
return ColumnName;
}
/**
* Get the current value for the plotted point
*
Expand Down Expand Up @@ -97,7 +108,7 @@ public boolean equals(Object object) {
/**
* The metrics revision number
*/
private final static int REVISION = 4;
private final static int REVISION = 5;

/**
* The base url of the metrics domain
Expand Down

0 comments on commit 7872e7a

Please sign in to comment.