Package | Description |
---|---|
org.gitlab4j.api |
Modifier and Type | Method and Description |
---|---|
RepositoryFile |
RepositoryFileApi.createFile(Object projectIdOrPath,
RepositoryFile file,
String branchName,
String commitMessage)
Create new file in repository
|
RepositoryFile |
RepositoryFileApi.createFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage)
Deprecated.
Will be removed in version 5.0, replaced by
RepositoryFileApi.createFile(Object, RepositoryFile, String, String) |
RepositoryFile |
RepositoryFileApi.getFile(Object projectIdOrPath,
String filePath,
String ref)
Get file from repository.
|
RepositoryFile |
RepositoryFileApi.getFile(Object projectIdOrPath,
String filePath,
String ref,
boolean includeContent)
Get file from repository.
|
RepositoryFile |
RepositoryFileApi.getFile(String filePath,
Integer projectId,
String ref)
Deprecated.
Will be removed in version 5.0, replaced by
RepositoryFileApi.getFile(Object, String, String) |
RepositoryFile |
RepositoryFileApi.getFileInfo(Object projectIdOrPath,
String filePath,
String ref)
Get information on a file in the repository.
|
protected RepositoryFile |
RepositoryFileApi.getFileV3(String filePath,
Integer projectId,
String ref)
Deprecated.
Will be removed in version 5.0
|
RepositoryFile |
RepositoryFileApi.updateFile(Object projectIdOrPath,
RepositoryFile file,
String branchName,
String commitMessage)
Update existing file in repository
|
RepositoryFile |
RepositoryFileApi.updateFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage)
Deprecated.
Will be removed in version 5.0, replaced by
RepositoryFileApi.updateFile(Object, RepositoryFile, String, String) |
Modifier and Type | Method and Description |
---|---|
Optional<RepositoryFile> |
RepositoryFileApi.getOptionalFile(Object projectIdOrPath,
String filePath,
String ref)
Get an Optional instance with the value holding information and content for a file in the repository.
|
Optional<RepositoryFile> |
RepositoryFileApi.getOptionalFileInfo(Object projectIdOrPath,
String filePath,
String ref)
Get an Optional instance with the value holding information on a file in the repository.
|
Modifier and Type | Method and Description |
---|---|
RepositoryFile |
RepositoryFileApi.createFile(Object projectIdOrPath,
RepositoryFile file,
String branchName,
String commitMessage)
Create new file in repository
|
RepositoryFile |
RepositoryFileApi.createFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage)
Deprecated.
Will be removed in version 5.0, replaced by
RepositoryFileApi.createFile(Object, RepositoryFile, String, String) |
protected javax.ws.rs.core.Form |
RepositoryFileApi.createForm(RepositoryFile file,
String branchName,
String commitMessage)
Gets the query params based on the API version.
|
RepositoryFile |
RepositoryFileApi.updateFile(Object projectIdOrPath,
RepositoryFile file,
String branchName,
String commitMessage)
Update existing file in repository
|
RepositoryFile |
RepositoryFileApi.updateFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage)
Deprecated.
Will be removed in version 5.0, replaced by
RepositoryFileApi.updateFile(Object, RepositoryFile, String, String) |
Copyright © 2019. All rights reserved.