| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ModuleDefinition | Returns: aDefaultModuleDefinition or null if not found
in this repository.the requested module name name, String the requestion module version version)Implements com. Finds and returns a |
| public abstract List | Returns: a list of available modulesRedeclares com. Returns a list of all modules available in this repository |
| public List | findAll(String
the requested module name name)Implements com. Finds and returns a list of all the available versions of a module given its name. |
| public URI | Returns: the URL for the repository locationImplements com. Returns the repository location |
| public String | Returns: repository nameImplements com. Returns the repository name |
| public abstract void | initialize()
Redeclares com. Initialize the repository for use. |
| public void | |
| public String |
| fileNames | back to summary |
|---|---|
| protected String[] fileNames | |
| rootLocation | back to summary |
|---|---|
| protected final File rootLocation | |
| CookedLibRepository | back to summary |
|---|---|
| public CookedLibRepository(String installRoot) Creates a new instance of CookedLibRepository | |
| add | back to summary |
|---|---|
| public void add(ModuleDefinition definition) throws IOException Adds a new module | |
| find | back to summary |
|---|---|
| public ModuleDefinition find(String name, String version) Implements com. Finds and returns a
| |
| findAll | back to summary |
|---|---|
| public abstract List Redeclares com. Returns a list of all modules available in this repository
| |
| findAll | back to summary |
|---|---|
| public List Implements com. Finds and returns a list of all the available versions of a module given its name.
| |
| getLocation | back to summary |
|---|---|
| public URI getLocation() Implements com. Returns the repository location
| |
| getName | back to summary |
|---|---|
| public String getName() Implements com. Returns the repository name
| |
| initialize | back to summary |
|---|---|
| public abstract void initialize() throws IOException Redeclares com. Initialize the repository for use. This need to be called at least once before any find methods is invoked.
| |
| shutdown | back to summary |
|---|---|
| public void shutdown() throws IOException Implements com. Shutdown the repository. After this call return, the find methods cannot be used until initialize() is called again.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |