public interface TaskReport extends DataSource
It had two following methods that return Jackson's instances till v0.9, but they are removed so that Jackson on the core side can be hidden from plugins.
Iterable<Map.Entry<String, JsonNode>> getAttributes()
ObjectNode getObjectNode()
| Modifier and Type | Method and Description |
|---|---|
TaskReport |
deepCopy()
Creates a deep copy of itself.
|
TaskReport |
getNested(String attrName)
Returns a nested value under
attrName. |
TaskReport |
getNestedOrGetEmpty(String attrName)
Returns a nested value under
attrName. |
TaskReport |
getNestedOrSetEmpty(String attrName)
Returns a nested value under
attrName. |
TaskReport |
merge(DataSource other)
Merges another
TaskReport into itself. |
TaskReport |
remove(String attrName)
Removes the attribute named
attrName. |
TaskReport |
set(String attrName,
Object v)
Sets a value for
attrName. |
TaskReport |
setAll(DataSource other)
Sets all attributes in
other into itself. |
TaskReport |
setNested(String attrName,
DataSource v)
Sets a nested value for
attrName. |
TaskReport getNested(String attrName)
attrName.getNested in interface DataSourceattrName - name of the nested attribute to look forattrNameTaskReport getNestedOrSetEmpty(String attrName)
attrName. Sets an empty object node "{}" there if it is empty.getNestedOrSetEmpty in interface DataSourceattrName - name of the nested attribute to look forattrNameTaskReport getNestedOrGetEmpty(String attrName)
attrName. Returns an empty object node "{}" there if it is empty.getNestedOrGetEmpty in interface DataSourceattrName - name of the nested attribute to look forattrNameTaskReport set(String attrName, Object v)
attrName.set in interface DataSourceattrName - name of the attribute to set the value atv - the value Object to setTaskReport setNested(String attrName, DataSource v)
attrName.setNested in interface DataSourceattrName - name of the attribute to set the nested value atv - the nested value to setTaskReport setAll(DataSource other)
other into itself.setAll in interface DataSourceother - the other TaskReport to setTaskReport remove(String attrName)
attrName.remove in interface DataSourceattrName - name of the attribute to removeTaskReport deepCopy()
deepCopy in interface DataSourceTaskReport instance that is deep-copied from itselfTaskReport merge(DataSource other)
TaskReport into itself.merge in interface DataSourceother - the other TaskReport to mergeTaskReport is merged