com.hubspot.chrome.devtools.client.core.performance.MetricsEvent Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.performance;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
import java.util.List;
/**
* Current values of the metrics.
*/
public final class MetricsEvent extends Event {
private List metrics;
private String title;
@JsonCreator
public MetricsEvent(@JsonProperty("metrics") List metrics,
@JsonProperty("title") String title) {
this.metrics = metrics;
this.title = title;
}
public List getMetrics() {
return metrics;
}
public String getTitle() {
return title;
}
}