Package org.apache.batchee.jaxrs.common

## Class RestMetric

- java.lang.Object
- - org.apache.batchee.jaxrs.common.RestMetric

-     public class RestMetric
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RestMetric()` |
    `RestMetric​(javax.batch.runtime.Metric.MetricType type, long value)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RestMetric

          public RestMetric()

    - #### RestMetric

          public RestMetric​(javax.batch.runtime.Metric.MetricType type,
                            long value)

  - ### Method Detail

    - #### setType

          public void setType​(javax.batch.runtime.Metric.MetricType type)

    - #### setValue

          public void setValue​(long value)

    - #### getType

          public javax.batch.runtime.Metric.MetricType getType()

    - #### getValue

          public long getValue()

    - #### wrap

          public static RestMetric wrap​(javax.batch.runtime.Metric m)