Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
a5ab678d
Commit
a5ab678d
authored
Dec 03, 2014
by
Greg Messner
Browse files
Cleaned up Javadocs.
parent
a41c2e0d
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/messners/gitlab/api/AbstractApi.java
View file @
a5ab678d
...
@@ -250,8 +250,8 @@ public abstract class AbstractApi {
...
@@ -250,8 +250,8 @@ public abstract class AbstractApi {
* Convenience method for adding query and form parameters to a get() or post() call.
* Convenience method for adding query and form parameters to a get() or post() call.
*
*
* @param formData
* @param formData
* @param
string
* @param
name
* @param
email
* @param
value
*/
*/
protected
void
addFormParam
(
Form
formData
,
String
name
,
Object
value
)
throws
IllegalArgumentException
{
protected
void
addFormParam
(
Form
formData
,
String
name
,
Object
value
)
throws
IllegalArgumentException
{
addFormParam
(
formData
,
name
,
value
,
false
);
addFormParam
(
formData
,
name
,
value
,
false
);
...
...
src/main/java/com/messners/gitlab/api/CommitsApi.java
View file @
a5ab678d
...
@@ -25,7 +25,7 @@ public class CommitsApi extends AbstractApi {
...
@@ -25,7 +25,7 @@ public class CommitsApi extends AbstractApi {
* GET /projects/:id/repository/commits
* GET /projects/:id/repository/commits
*
*
* @param projectId
* @param projectId
* @return
* @return
a List<Commit> containing the commits for the specified project ID
* @throws GitLabApiException
* @throws GitLabApiException
*/
*/
public
List
<
Commit
>
getCommits
(
int
projectId
)
throws
GitLabApiException
{
public
List
<
Commit
>
getCommits
(
int
projectId
)
throws
GitLabApiException
{
...
@@ -41,7 +41,7 @@ public class CommitsApi extends AbstractApi {
...
@@ -41,7 +41,7 @@ public class CommitsApi extends AbstractApi {
*
*
* @param projectId
* @param projectId
* @param sha a commit hash or name of a branch or tag
* @param sha a commit hash or name of a branch or tag
* @return
* @return
the Commit instance for the specified project ID/sha pair
* @throws GitLabApiException
* @throws GitLabApiException
*/
*/
public
Commit
getCommits
(
int
projectId
,
String
sha
)
throws
GitLabApiException
{
public
Commit
getCommits
(
int
projectId
,
String
sha
)
throws
GitLabApiException
{
...
@@ -57,7 +57,7 @@ public class CommitsApi extends AbstractApi {
...
@@ -57,7 +57,7 @@ public class CommitsApi extends AbstractApi {
*
*
* @param projectId
* @param projectId
* @param sha a commit hash or name of a branch or tag
* @param sha a commit hash or name of a branch or tag
* @return
* @return
the Diff instance for the specified project ID/sha pair
* @throws GitLabApiException
* @throws GitLabApiException
*/
*/
public
Diff
getDiff
(
int
projectId
,
String
sha
)
throws
GitLabApiException
{
public
Diff
getDiff
(
int
projectId
,
String
sha
)
throws
GitLabApiException
{
...
...
src/main/java/com/messners/gitlab/api/JacksonJson.java
View file @
a5ab678d
...
@@ -109,7 +109,7 @@ public class JacksonJson extends JacksonJaxbJsonProvider implements ContextResol
...
@@ -109,7 +109,7 @@ public class JacksonJson extends JacksonJaxbJsonProvider implements ContextResol
* Marshals the supplied object out as a formatted JSON string.
* Marshals the supplied object out as a formatted JSON string.
*
*
* @param object the object to output as a JSON string
* @param object the object to output as a JSON string
* @return
* @return
a String containing the JSON for the specified object
*/
*/
public
<
T
>
String
marshal
(
final
T
object
)
{
public
<
T
>
String
marshal
(
final
T
object
)
{
...
...
src/main/java/com/messners/gitlab/api/ProjectApi.java
View file @
a5ab678d
...
@@ -412,11 +412,7 @@ public class ProjectApi extends AbstractApi {
...
@@ -412,11 +412,7 @@ public class ProjectApi extends AbstractApi {
*
*
* PUT /projects/:id/hooks/:hook_id
* PUT /projects/:id/hooks/:hook_id
*
*
* @param projectId
* @param hook
* @param url
* @param doPushEvents
* @param doIssuesEvents
* @param doMergeRequestsEvents
* @return the modified project hook
* @return the modified project hook
* @throws GitLabApiException
* @throws GitLabApiException
*/
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment