ruper2/src/java/core package.html,NONE,1.1

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/core
In directory sc8-pr-cvs1:/tmp/cvs-serv30992/src/java/core

Added Files:
	package.html 
Log Message:
1) Removed source code and code check links (which centipede doesn't give now)
2) Moved package.html into src/java/core -- to get javadoc'd.

--- NEW FILE: package.html ---
<html>
<head>
<title>Ruper2 Package Overview</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body>
<p>
<B>ResourceUpdater</B> -  General API 
</p>
<p>
<B>EclipseFileUpdater</B> - Eclipse API
</p>
<p>
<B>ResourceUpdater</B> holds the <B>DefaultTargetRepository</B> and <B>ResourceUpdaterEngine</B>. 
</p>
<p>
//TODO :  ResourceUpdater will have ConfigOptions Object 
</p>
<p>

	Three important actions performed by ResourceUpdater
</p>
<p>
	<B>Find</B>
</p>
<p>
&nbsp; &nbsp; FindResource takes a Resource/ResourceQuery  and returns a list of Resources found 
</p>
<p>


	<B>Download</B>
</p>
<p>
		&nbsp; &nbsp; Download takes a Resource/ResourceQuery  and downloads it. 

</p>
<p>

<B>Update</B>
</p>
<p>
	&nbsp; &nbsp; UpdateResource takes the Resource/ResourceQuery and updates it

</p>
<p>
<B>ResourceUpdaterEngine</B> holds the <B>DefaultQueryEngine</B>, <B>RepositoryManager</B>. It also configures the DefaultRepositorySet and any information from the ruper.xml. The Repository and RepositorySet created are made available from the ReferenceManager.
</p>
<p>

<B>RepositoryManager</B> gets the DefaultRepositorySet from the ReferenceManager and sorts it with the DefaultSelectors and comparators ( which is just ActiveRepositorySelector).
</p>
<p>
ResourceUpdaterEngine delegates the repository work to the RepositoryManager. It gets the RepositorySet and RepositorySortContext from the query,  if they are present, if not uses the default SortedRepositorySet.
</p>
<p>

<B>ResourceUpdater</B>  gets the ResourceQuery  and delegates the Find/Download/Update actions to the ResourceUpdaterEngine. 
</p>
<p>

<B>ResourceQuery</B> is given directly to the ResourceUpdater methods or it will be derived from the Resource using the ResourceQueryHelper. The default query the 
</p>
<p>

<B>ResourceQueryHelper</B> returns is based on the <B>ResourceSpecifier</B> which includes Group ( eg..  eclipse for all eclipse jars ),  Identifier ( name,  eg., junit ), Type ( Bin/ Src ),  Version
</p>
<p>

ResourceUpdaterEngine uses the RepositoryManager to get the RepositorySet and uses the QueryEngine to query those repositories.
</p>
<p>

ResourceQuery  is the query which holds the selectors,  GroupBy comparators and OrderBy comparators ---   This is for power users
</p>
<p>

//TODO  - The ResourceUpdater ConfigOptions Object will take care of the simple user selectors and comparators. User will be able to say “BestOfAll” , “ReleaseOnly”, “AllMatches”… as the options and the QueryHelper will take that and construct the query.
</p>
<p>

</body>
</html>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.