|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rebuilder
Interface for a class that rebuilds some aspect of the repository.
It is expected that clients of this interface will first call init, then start, then addObject (possibly a series of times), then finish.
| Method Summary | |
|---|---|
void |
addObject(DigitalObject object)
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 |
setServerConfiguration(ServerConfiguration serverConfig)
Initialize the rebuilder, given the server configuration. |
void |
setServerDir(File serverBaseDir)
|
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. |
| Method Detail |
|---|
String getAction()
void setServerConfiguration(ServerConfiguration serverConfig)
void setServerDir(File serverBaseDir)
void init()
Map<String,String> getOptions()
throws Exception
Exceptionboolean shouldStopServer()
void start(Map<String,String> options)
throws Exception
Exception
void addObject(DigitalObject object)
throws Exception
Exception
void finish()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||