public class CustomPreview extends Object
| Constructor and Description |
|---|
CustomPreview() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getHeader()
The JSON-stringified result of formatter.header(object, config) call.
|
void |
setBodyGetterId(String bodyGetterId)
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.
|
void |
setHeader(String header)
The JSON-stringified result of formatter.header(object, config) call.
|
public String getHeader()
public void setHeader(String header)
public String getBodyGetterId()
public void setBodyGetterId(String bodyGetterId)
Copyright © 2020. All rights reserved.