com.hubspot.chrome.devtools.client.core.target.AttachedToTargetEvent 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 attached to target because of auto-attach or `attachToTarget` command.
*/
public final class AttachedToTargetEvent extends Event {
private SessionID sessionId;
private TargetInfo targetInfo;
private Boolean waitingForDebugger;
@JsonCreator
public AttachedToTargetEvent(@JsonProperty("sessionId") SessionID sessionId,
@JsonProperty("targetInfo") TargetInfo targetInfo,
@JsonProperty("waitingForDebugger") Boolean waitingForDebugger) {
this.sessionId = sessionId;
this.targetInfo = targetInfo;
this.waitingForDebugger = waitingForDebugger;
}
public SessionID getSessionId() {
return sessionId;
}
public TargetInfo getTargetInfo() {
return targetInfo;
}
public Boolean getWaitingForDebugger() {
return waitingForDebugger;
}
}