All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.runtime.ConsoleAPICalledEvent Maven / Gradle / Ivy

package com.hubspot.chrome.devtools.client.core.runtime;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
import java.util.List;

/**
 * Issued when console API was called.
 */
public final class ConsoleAPICalledEvent extends Event {
  private String type;

  private List args;

  private ExecutionContextId executionContextId;

  private Timestamp timestamp;

  private StackTrace stackTrace;

  private String context;

  @JsonCreator
  public ConsoleAPICalledEvent(@JsonProperty("type") String type,
      @JsonProperty("args") List args,
      @JsonProperty("executionContextId") ExecutionContextId executionContextId,
      @JsonProperty("timestamp") Timestamp timestamp,
      @JsonProperty("stackTrace") StackTrace stackTrace, @JsonProperty("context") String context) {
    this.type = type;
    this.args = args;
    this.executionContextId = executionContextId;
    this.timestamp = timestamp;
    this.stackTrace = stackTrace;
    this.context = context;
  }

  public String getType() {
    return type;
  }

  public List getArgs() {
    return args;
  }

  public ExecutionContextId getExecutionContextId() {
    return executionContextId;
  }

  public Timestamp getTimestamp() {
    return timestamp;
  }

  public StackTrace getStackTrace() {
    return stackTrace;
  }

  public String getContext() {
    return context;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy