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

com.hubspot.chrome.devtools.client.core.dom.ChildNodeCountUpdatedEvent Maven / Gradle / Ivy

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

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

/**
 * Fired when `Container`'s child node count has changed.
 */
public final class ChildNodeCountUpdatedEvent extends Event {
  private NodeId nodeId;

  private Integer childNodeCount;

  @JsonCreator
  public ChildNodeCountUpdatedEvent(@JsonProperty("nodeId") NodeId nodeId,
      @JsonProperty("childNodeCount") Integer childNodeCount) {
    this.nodeId = nodeId;
    this.childNodeCount = childNodeCount;
  }

  public NodeId getNodeId() {
    return nodeId;
  }

  public Integer getChildNodeCount() {
    return childNodeCount;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy