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

io.codemodder.sonar.model.SearchHotspotsResponse Maven / Gradle / Ivy

package io.codemodder.sonar.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The response when searching for hotspots. */
public final class SearchHotspotsResponse extends SearchFindingResponse {

  @JsonProperty("hotspots")
  private List hotspots;

  public List getHotspots() {
    return hotspots;
  }

  @Override
  public int findingCount() {
    return hotspots.size();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy