com.hubspot.chrome.devtools.client.core.target.TargetCreatedEvent Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.target;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
/**
* Issued when a possible inspection target is created.
*/
public final class TargetCreatedEvent extends Event {
private TargetInfo targetInfo;
@JsonCreator
public TargetCreatedEvent(@JsonProperty("targetInfo") TargetInfo targetInfo) {
this.targetInfo = targetInfo;
}
public TargetInfo getTargetInfo() {
return targetInfo;
}
}