public class RestMetric extends Object
Constructor and Description |
---|
RestMetric() |
RestMetric(javax.batch.runtime.Metric.MetricType type,
long value) |
Modifier and Type | Method and Description |
---|---|
javax.batch.runtime.Metric.MetricType |
getType() |
long |
getValue() |
void |
setType(javax.batch.runtime.Metric.MetricType type) |
void |
setValue(long value) |
static RestMetric |
wrap(javax.batch.runtime.Metric m) |
public RestMetric()
public RestMetric(javax.batch.runtime.Metric.MetricType type, long value)
public void setType(javax.batch.runtime.Metric.MetricType type)
public void setValue(long value)
public javax.batch.runtime.Metric.MetricType getType()
public long getValue()
public static RestMetric wrap(javax.batch.runtime.Metric m)
Copyright © 2017 The Apache Software Foundation. All rights reserved.