Interface Sendable

All Known Implementing Classes:
Alert, Brand, Domain, HttpService, Ip, IpRange, MasterDomain, Service, Vulnerability

public interface Sendable
Sendable interface. That be used by models to be sent over MQ.
Author:
Maxime ESCOURBIAC
  • Method Details

    • toJson

      String toJson()
      Convert the object to json string.
      Returns:
      The string representation of the json object.
    • fromJson

      void fromJson(String json)
      Convert json string to object.
      Parameters:
      json - The string representation of the json object.
    • getFanoutExchangeName

      String getFanoutExchangeName()
      Get Fanout exchange name.
      Returns:
      Fanout exchange name.