@Unstable public class LiveDataConfiguration extends Object
Constructor and Description |
---|
LiveDataConfiguration() |
Modifier and Type | Method and Description |
---|---|
LiveData |
getData() |
String |
getId() |
LiveDataMeta |
getMeta() |
LiveDataQuery |
getQuery() |
void |
initialize()
Prevent
null values where it's possible. |
void |
setData(LiveData data)
Sets the live data.
|
void |
setId(String id)
Set the live data instance id.
|
void |
setMeta(LiveDataMeta meta)
Set the configuration used to display the live data.
|
void |
setQuery(LiveDataQuery query)
Set the query used to retrieve the live data.
|
public String getId()
public void setId(String id)
id
- the new live data instance idpublic LiveDataQuery getQuery()
public void setQuery(LiveDataQuery query)
query
- the new querypublic LiveData getData()
public void setData(LiveData data)
data
- the new live datapublic LiveDataMeta getMeta()
public void setMeta(LiveDataMeta meta)
meta
- the new meta configurationpublic void initialize()
null
values where it's possible.Copyright © 2004–2022 XWiki. All rights reserved.