Package 

Class CustomPreview

    • Method Summary

      Modifier and Type Method Description
      final String component1()
      final String component2()
      final CustomPreview copy(String header, String bodyGetterId)
      final String getHeader() The JSON-stringified result of formatter.header(object, config) call.
      final String getBodyGetterId() If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call.
      • Methods inherited from class org.hildan.chrome.devtools.domains.runtime.CustomPreview

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomPreview

        CustomPreview(String header, String bodyGetterId)
    • Method Detail

      • getHeader

         final String getHeader()

        The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.

      • getBodyGetterId

         final String getBodyGetterId()

        If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array.