Package org.xwiki.livedata
Class LiveDataConfiguration
- java.lang.Object
-
- org.xwiki.livedata.LiveDataConfiguration
-
public class LiveDataConfiguration extends Object
Describes the live data configuration.- Since:
- 12.10
- Version:
- $Id: c8ee01e5503aa958a8a44051004a72adf36beee6 $
-
-
Constructor Summary
Constructors Constructor Description LiveDataConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveDatagetData()StringgetId()LiveDataMetagetMeta()LiveDataQuerygetQuery()voidinitialize()Preventnullvalues where it's possible.voidsetData(LiveData data)Sets the live data.voidsetId(String id)Set the live data instance id.voidsetMeta(LiveDataMeta meta)Set the configuration used to display the live data.voidsetQuery(LiveDataQuery query)Set the query used to retrieve the live data.
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the live data instance id
-
setId
public void setId(String id)
Set the live data instance id.- Parameters:
id- the new live data instance id
-
getQuery
public LiveDataQuery getQuery()
- Returns:
- the query used to retrieve the live data
-
setQuery
public void setQuery(LiveDataQuery query)
Set the query used to retrieve the live data.- Parameters:
query- the new query
-
getData
public LiveData getData()
- Returns:
- the live data
-
setData
public void setData(LiveData data)
Sets the live data.- Parameters:
data- the new live data
-
getMeta
public LiveDataMeta getMeta()
- Returns:
- the configuration used to display the live data
-
setMeta
public void setMeta(LiveDataMeta meta)
Set the configuration used to display the live data.- Parameters:
meta- the new meta configuration
-
initialize
public void initialize()
Preventnullvalues where it's possible.
-
-