public class SearchIndexerDataLocationStateBean extends Object implements SearchIndexerDataLocationState
SearchIndexerDataLocationState
as
JAXB-ready Java-Bean.Modifier and Type | Field and Description |
---|---|
private String |
location |
private String |
revision |
Constructor and Description |
---|
SearchIndexerDataLocationStateBean()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocation()
This method gets the
location this state is associated with. |
String |
getRevision()
This method gets the revision of the
location that
has been indexed. |
void |
setLocation(String location) |
void |
setRevision(String revision)
This method sets the
revision . |
private String location
getLocation()
private String revision
getRevision()
public SearchIndexerDataLocationStateBean()
public String getLocation()
location
this state is associated with.getLocation
in interface SearchIndexerDataLocationState
public void setLocation(String location)
location
- is the location to setpublic String getRevision()
location
that
has been indexed.getRevision
in interface SearchIndexerDataLocationState
null
if no revision is set.SearchIndexerSource.UPDATE_STRATEGY_VCS
,
SearchIndexerDataLocation.getUpdateStrategyVariant()
public void setRevision(String revision)
revision
.setRevision
in interface SearchIndexerDataLocationState
revision
- is the new revision.Copyright © 2001–2016 mmm-Team. All rights reserved.