java.lang.Object | |
↳ | com.atlassian.bitbucket.content.EditFileRequest |
Represents a request to edit a file, this request can be used to create a new file as well as updating an existing file.
The following properties are required:
getBranch()
()}: The name of the branch on which the edit should happengetPath()
()}: The path of the filegetRepository()
: The repository in which the edit operation should be donegetContent()
: A supplier providing access to the file contentgetSourceCommitId()
is not provided, it's assumed the file doesn't exist on the branch and a
new file will be created.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EditFileRequest.Builder |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Optional#empty
if this is a new file