-
public final class CustomPreview
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringheaderprivate final StringbodyGetterId
-
Constructor Summary
Constructors Constructor Description CustomPreview(String header, String bodyGetterId)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final CustomPreviewcopy(String header, String bodyGetterId)final StringgetHeader()The JSON-stringified result of formatter.header(object, config) call. final StringgetBodyGetterId()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. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
copy
final CustomPreview copy(String header, String bodyGetterId)
-
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.
-
-
-
-