| Constructor and Description |
|---|
ResourceIndexRebuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(DigitalObject obj)
Add the data of interest for the given object.
|
void |
finish()
Free up any system resources associated with rebuilding.
|
String |
getAction()
Get a short phrase describing what the user can do with this rebuilder.
|
Map<String,String> |
getOptions() |
void |
init() |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
void |
setModuleConfiguration(ModuleConfiguration riConfig) |
void |
setServerConfiguration(ServerConfiguration serverConfig)
Initialize the rebuilder, given the server configuration.
|
void |
setServerDir(File serverBaseDir) |
void |
setTripleGenerator(TripleGenerator generator) |
void |
setTriplestoreConnector(org.trippi.TriplestoreConnector conn) |
boolean |
shouldStopServer()
Returns true is the server _must_ be shut down for this rebuilder to
safely operate.
|
void |
start(Map<String,String> options)
Validate the provided options and perform any necessary startup tasks.
|
public void setTriplestoreConnector(org.trippi.TriplestoreConnector conn)
public void setModuleConfiguration(ModuleConfiguration riConfig)
public String getAction()
public boolean shouldStopServer()
shouldStopServer in interface Rebuilderpublic void setServerConfiguration(ServerConfiguration serverConfig)
setServerConfiguration in interface Rebuilderpublic void setServerDir(File serverBaseDir)
setServerDir in interface Rebuilderpublic Map<String,String> getOptions()
getOptions in interface Rebuilderpublic void setTripleGenerator(TripleGenerator generator)
public void start(Map<String,String> options) throws ResourceIndexException
start in interface RebuilderResourceIndexExceptionpublic void addObject(DigitalObject obj) throws ResourceIndexException
addObject in interface RebuilderResourceIndexExceptionpublic void finish()
throws Exception
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2013 DuraSpace. All Rights Reserved.