Changeset 2126
- Timestamp:
- 06/27/08 15:04:36 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ProjectFortress/src/com/sun/fortress/repository/FortressRepository.java
r2125 r2126 39 39 public Map<APIName, ApiIndex> apis(); 40 40 41 /** 42 * Add a compiled/processed api to the repository. 43 */ 41 44 public void addApi(APIName name, ApiIndex definition); 42 45 46 /** 47 * Add a compiled/processed component to the repository. 48 */ 43 49 public void addComponent(APIName name, ComponentIndex definition); 44 50 51 /** 52 * Retrieve an api from the repository given a name. 53 */ 45 54 public ApiIndex getApi(APIName name) throws FileNotFoundException, IOException; 46 55 56 /** 57 * Retrieve a component from the repository given a name. 58 */ 47 59 public ComponentIndex getComponent(APIName name) throws FileNotFoundException, IOException, StaticError; 60 61 /** 62 * Retrieve a component from the repository that is linked properly to other components. 63 */ 48 64 public ComponentIndex getLinkedComponent(APIName name) throws FileNotFoundException, IOException, StaticError; 49 65 66 /** 67 * Return the last modification date of an api. 68 */ 50 69 public long getModifiedDateForApi(APIName name) throws FileNotFoundException ; 51 70 71 /** 72 * Return the last modification date of a component. 73 */ 52 74 public long getModifiedDateForComponent(APIName name) throws FileNotFoundException ; 53 75 76 /** 77 * Debugging methods. 78 */ 54 79 public boolean setVerbose(boolean new_value); 55 80 public boolean verbose();
