KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > antmod > descriptor > DescriptorStore


1 package org.antmod.descriptor;
2
3 /**
4  * Represents a storage location for release descriptors.
5  *
6  * @author Klaas Waslander
7  */

8 public interface DescriptorStore {
9     
10     /**
11      * Reads the release descriptor from the store.
12      * @param name The name of the release descriptor.
13      * @param versionString The version of the release, for example "dev" or "2.1"
14      * @return The appropriate release descriptor information
15      */

16     public ReleaseDescriptor getReleaseDescriptor(String JavaDoc name, String JavaDoc versionString);
17     
18     /**
19      * Reads a release descriptor from the store, assuming the given name and version
20      * of the release descriptor name have been separated using a "-".
21      * @param nameAndVersion Last "-" separates name and version
22      * @return The appropriate release descriptor information
23      */

24     public ReleaseDescriptor getReleaseDescriptor(String JavaDoc nameAndVersion);
25
26 }
27
Popular Tags