Skip to content

Commit

Permalink
JavaDoc cleanups for MetricApi.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Jul 22, 2009
1 parent e303ed7 commit 9abea1c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/org/hyperic/hq/hqapi1/MetricApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class MetricApi extends BaseApi {
}

/**
* List all {@link org.hyperic.hq.hqapi1.types.Metric}s associated with a
* Get all {@link org.hyperic.hq.hqapi1.types.Metric}s associated with a
* {@link org.hyperic.hq.hqapi1.types.Resource}
*
* @param resource The associated {@link org.hyperic.hq.hqapi1.types.Resource} which the metrics belong.
Expand All @@ -87,7 +87,7 @@ public MetricsResponse getMetrics(Resource resource)
}

/**
* List all enabled {@link org.hyperic.hq.hqapi1.types.Metric}s associated with a
* Get all enabled {@link org.hyperic.hq.hqapi1.types.Metric}s associated with a
* {@link org.hyperic.hq.hqapi1.types.Resource}
*
* @param resource The associated {@link org.hyperic.hq.hqapi1.types.Resource}
Expand All @@ -110,7 +110,7 @@ public MetricsResponse getEnabledMetrics(Resource resource)
}

/**
* List all enabled {@link org.hyperic.hq.hqapi1.types.Metric}s associated with a
* Get all {@link org.hyperic.hq.hqapi1.types.Metric}s associated with a
* {@link org.hyperic.hq.hqapi1.types.Resource}
*
* @param resource The associated {@link org.hyperic.hq.hqapi1.types.Resource}
Expand All @@ -133,8 +133,7 @@ public MetricsResponse getMetrics(Resource resource, boolean enabled)
}

/**
* Get the {@link org.hyperic.hq.hqapi1.types.Metric} associated
* with the metricId
* Get a {@link org.hyperic.hq.hqapi1.types.Metric} by it's id.
*
* @param id The id used to retrieve the associated
* {@link org.hyperic.hq.hqapi1.types.Metric}.
Expand Down Expand Up @@ -174,8 +173,7 @@ public StatusResponse syncMetrics(List<Metric> metrics)
}

/**
* Get the {@link org.hyperic.hq.hqapi1.types.MetricTemplate} associated
* with the metric id.
* Get a {@link org.hyperic.hq.hqapi1.types.MetricTemplate} by it's id.
*
* @param id The id used to retrieve the associated
* {@link org.hyperic.hq.hqapi1.types.MetricTemplate}.
Expand All @@ -196,7 +194,7 @@ public MetricTemplateResponse getMetricTemplate(int id)
}

/**
* List all {@link org.hyperic.hq.hqapi1.types.MetricTemplate}s associated
* Get all {@link org.hyperic.hq.hqapi1.types.MetricTemplate}s associated
* with the given {@link org.hyperic.hq.hqapi1.types.ResourcePrototype}.
*
* @param prototype The associated {@link org.hyperic.hq.hqapi1.types.ResourcePrototype}
Expand Down

0 comments on commit 9abea1c

Please sign in to comment.