|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.resourceIndex.ResourceIndexRebuilder
public class ResourceIndexRebuilder
A Rebuilder for the resource index.
| Constructor Summary | |
|---|---|
ResourceIndexRebuilder()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceIndexRebuilder()
| Method Detail |
|---|
public void setTriplestoreConnector(org.trippi.TriplestoreConnector conn)
public void setModuleConfiguration(ModuleConfiguration riConfig)
public String getAction()
getAction in interface Rebuilderpublic boolean shouldStopServer()
shouldStopServer in interface Rebuilderpublic void setServerConfiguration(ServerConfiguration serverConfig)
setServerConfiguration in interface Rebuilderpublic void setServerDir(File serverBaseDir)
setServerDir in interface Rebuilderpublic void init()
init 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 RebuilderResourceIndexException
public void addObject(DigitalObject obj)
throws ResourceIndexException
addObject in interface RebuilderResourceIndexException
public void finish()
throws Exception
finish in interface RebuilderException
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||