public class SearchIndexerSourceBean extends SearchSourceBean implements SearchIndexerSource
SearchIndexerSource
as JAXB-ready
Java-Bean.Modifier and Type | Field and Description |
---|---|
private List<SearchIndexerDataLocationBean> |
locations |
private String |
updateStrategy |
UPDATE_STRATEGY_LAST_MODIFIED, UPDATE_STRATEGY_NONE, UPDATE_STRATEGY_VCS
ID_ANY
Constructor and Description |
---|
SearchIndexerSourceBean()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
List<SearchIndexerDataLocationBean> |
getLocations()
This method gets the
List of directories . |
String |
getUpdateStrategy()
This method gets the identifier of the strategy used for (incremental)
updates of this
SearchSource . |
void |
setLocations(List<SearchIndexerDataLocationBean> locations) |
void |
setUpdateStrategy(String updateStrategy)
This method sets the
update-strategy . |
getId, getTitle, getUrlPrefix, setId, setTitle, setUrlPrefix, toString
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTitle, getUrlPrefix
private String updateStrategy
getUpdateStrategy()
private List<SearchIndexerDataLocationBean> locations
getLocations()
public String getUpdateStrategy()
SearchSource
. This property is of interest for the
search-indexer and can be ignored for the search-engine (due to the lack of
full generic support in JAXB we decided NOT to move this method to a
sub-interface in the search-indexer-api). SearchIndexerSource.UPDATE_STRATEGY_LAST_MODIFIED
that
should work for all locations/resources that have a modification date.
Besides SearchIndexerSource.UPDATE_STRATEGY_NONE
there is also
SearchIndexerSource.UPDATE_STRATEGY_VCS
available.getUpdateStrategy
in interface SearchIndexerSource
null
if no
delta-update-indexing shall be performed. Use one of the
UPDATE_TYPE_*
constants. The default implementation
uses maven-scm
as abstraction layer on VCS. In such
case this is the role-hint for the scm-provider.SearchIndexerSource.UPDATE_STRATEGY_LAST_MODIFIED
,
SearchIndexerSource.UPDATE_STRATEGY_VCS
,
SearchIndexerSource.UPDATE_STRATEGY_NONE
public void setUpdateStrategy(String updateStrategy)
update-strategy
.updateStrategy
- is the new value to set.public List<SearchIndexerDataLocationBean> getLocations()
List
of directories
.getLocations
in interface SearchIndexerSource
List
of SearchIndexerDataLocation
.public void setLocations(List<SearchIndexerDataLocationBean> locations)
locations
- is the List
of locations to setCopyright © 2001–2016 mmm-Team. All rights reserved.