public class SearchIndexerSourceStateBean extends Object implements SearchIndexerSourceState
SearchIndexerSourceState as JAXB-ready
Java-Bean.| Modifier and Type | Field and Description |
|---|---|
private Date |
indexingDate |
private List<SearchIndexerDataLocationStateBean> |
locations |
private Map<String,SearchIndexerDataLocationStateBean> |
locationStateMap |
private String |
source |
| Constructor and Description |
|---|
SearchIndexerSourceStateBean()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getIndexingDate()
|
List<SearchIndexerDataLocationStateBean> |
getLocations()
This method gets the
List of
SearchIndexerDataLocationStateBean. |
SearchIndexerDataLocationState |
getLocationState(String location)
This method gets the
state for the
given location. |
protected Map<String,SearchIndexerDataLocationStateBean> |
getLocationStateMap() |
SearchIndexerDataLocationState |
getOrCreateLocationState(String location) |
String |
getSource()
|
void |
setIndexingDate(Date indexingDate)
This method sets the
indexing-date. |
void |
setLocations(List<SearchIndexerDataLocationStateBean> locations) |
void |
setSource(String source) |
private String source
getSource()private Date indexingDate
getIndexingDate()private List<SearchIndexerDataLocationStateBean> locations
getLocations()private transient Map<String,SearchIndexerDataLocationStateBean> locationStateMap
getLocationStateMap()public SearchIndexerSourceStateBean()
public String getSource()
SearchIndexerSourceStategetSource in interface SearchIndexerSourceStatepublic void setSource(String source)
source - is the source to setpublic Date getIndexingDate()
getIndexingDate in interface SearchIndexerSourceStatenull if the
source has NOT yet been indexed.public void setIndexingDate(Date indexingDate)
indexing-date. It should be
called after the source has been completely updated in
the search-index.setIndexingDate in interface SearchIndexerSourceStateindexingDate - is the new indexing-date.public List<SearchIndexerDataLocationStateBean> getLocations()
List of
SearchIndexerDataLocationStateBean. getOrCreateLocationState(String)public void setLocations(List<SearchIndexerDataLocationStateBean> locations)
locations - is the locations to setprotected Map<String,SearchIndexerDataLocationStateBean> getLocationStateMap()
public SearchIndexerDataLocationState getLocationState(String location)
state for the
given location. configured data-location a SearchIndexerDataLocationState will be
available.getLocationState in interface SearchIndexerSourceStatelocation - is the
location of the
data-location for which the state is requested.SearchIndexerDataLocationState of the given
location or null if no such state exists.public SearchIndexerDataLocationState getOrCreateLocationState(String location)
location - is the location for which the state is requested.SearchIndexerDataLocationState. If it does
not exist, it is created and associated.getLocationState(String)Copyright © 2001–2016 mmm-Team. All rights reserved.