improve javadoc of repository resource

This commit is contained in:
Sebastian Sdorra
2012-01-11 08:30:24 +01:00
parent 75f3e28fe0
commit 213304cd51

View File

@@ -222,7 +222,7 @@ public class RepositoryResource
//~--- get methods ---------------------------------------------------------- //~--- get methods ----------------------------------------------------------
/** /**
* Returns a repository.<br /> * Returns the {@link Repository} with the specified id.<br />
* <br /> * <br />
* Status codes: * Status codes:
* <ul> * <ul>
@@ -261,7 +261,7 @@ public class RepositoryResource
* @param sortby sort parameter * @param sortby sort parameter
* @param desc sort direction desc or aesc * @param desc sort direction desc or aesc
* *
* @return * @return all repositories
*/ */
@GET @GET
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@@ -292,7 +292,7 @@ public class RepositoryResource
* @param revision the revision of the file * @param revision the revision of the file
* @param path the path of the file * @param path the path of the file
* *
* @return * @return a annotate/blame view for the given path
* *
* @throws IOException * @throws IOException
* @throws RepositoryException * @throws RepositoryException
@@ -356,7 +356,7 @@ public class RepositoryResource
* @param revision the revision of the file * @param revision the revision of the file
* @param path the path of the folder * @param path the path of the folder
* *
* @return * @return a list of folders and files for the given folder
* *
* @throws IOException * @throws IOException
* @throws RepositoryException * @throws RepositoryException
@@ -399,7 +399,7 @@ public class RepositoryResource
} }
/** /**
* Returns a repository.<br /> * Returns the {@link Repository} with the specified type and name.<br />
* <br /> * <br />
* Status codes: * Status codes:
* <ul> * <ul>
@@ -456,7 +456,7 @@ public class RepositoryResource
* @param start the start value for paging * @param start the start value for paging
* @param limit the limit value for paging * @param limit the limit value for paging
* *
* @return * @return a list of {@link Changeset} for the given repository
* *
* @throws IOException * @throws IOException
* @throws RepositoryException * @throws RepositoryException
@@ -525,7 +525,7 @@ public class RepositoryResource
* @param revision the revision of the file * @param revision the revision of the file
* @param path path to the file * @param path path to the file
* *
* @return * @return the content of a file
*/ */
@GET @GET
@Path("{id}/content") @Path("{id}/content")
@@ -590,7 +590,7 @@ public class RepositoryResource
* @param revision the revision of the file * @param revision the revision of the file
* @param path path to the file * @param path path to the file
* *
* @return * @return the modifications of a {@link Changeset}
* *
* @throws IOException * @throws IOException
* @throws RepositoryException * @throws RepositoryException