Package step.plugins.k6.json
Class Metric
- java.lang.Object
-
- step.plugins.k6.json.Metric
-
public class Metric extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Metric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getData()
java.lang.String
getMetric()
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
MetricType
getType()
void
setData(java.util.Map<java.lang.String,java.lang.Object> data)
void
setMetric(java.lang.String metric)
void
setProperty(java.lang.String name, java.lang.Object value)
void
setType(MetricType type)
-
-
-
Method Detail
-
getType
public MetricType getType()
-
setType
public void setType(MetricType type)
-
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
-
setData
public void setData(java.util.Map<java.lang.String,java.lang.Object> data)
-
getMetric
public java.lang.String getMetric()
-
setMetric
public void setMetric(java.lang.String metric)
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value)
-
-