|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.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. |
java.lang.String |
getAction()
Get a short phrase describing what the user can do with this rebuilder. |
java.util.Map<java.lang.String,java.lang.String> |
init(java.io.File serverDir,
ServerConfiguration serverConfig)
Initialize the rebuilder, given the server configuration. |
boolean |
shouldStopServer()
Returns true is the server _must_ be shut down for this rebuilder to safely operate. |
void |
start(java.util.Map<java.lang.String,java.lang.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 java.lang.String getAction()
getAction in interface Rebuilderpublic boolean shouldStopServer()
shouldStopServer in interface Rebuilder
public java.util.Map<java.lang.String,java.lang.String> init(java.io.File serverDir,
ServerConfiguration serverConfig)
init in interface Rebuilder
public void start(java.util.Map<java.lang.String,java.lang.String> options)
throws ResourceIndexException
start in interface RebuilderResourceIndexException
public void addObject(DigitalObject obj)
throws ResourceIndexException
addObject in interface RebuilderResourceIndexException
public void finish()
throws java.lang.Exception
finish in interface Rebuilderjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||