|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.registry.api.context.Workspace
public class Workspace
The registry workspace. The registry folder tree is defined like : $rootPath/registry/workspace/$registryName/repository so that multiple registries woth the same rootPath can cohabit.
| Constructor Summary | |
|---|---|
protected |
Workspace(java.io.File rootPath,
java.lang.String registryName)
Creates a new instance of Workspace |
| Method Summary | |
|---|---|
void |
clean()
Clean the workspace |
java.io.File |
getRegistryRootPath()
|
java.io.File |
getRepositoryRootPath()
|
void |
init()
Initialize the object |
boolean |
isInitialized()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Workspace(java.io.File rootPath,
java.lang.String registryName)
| Method Detail |
|---|
public void init()
throws LifeCycleException
Initializable
init in interface InitializableLifeCycleExceptionpublic boolean isInitialized()
isInitialized in interface Initializablepublic void clean()
public final java.io.File getRepositoryRootPath()
public final java.io.File getRegistryRootPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||