Package com.atlassian.bitbucket.content
Class EditFileRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.content.EditFileRequest.Builder
- Enclosing class:
EditFileRequest
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthor(ApplicationUser value) build()content(InputSupplier<InputStream> value) sourceBranch(String value) sourceCommitId(String value) Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
-
-
Method Details
-
author
- Since:
- 7.13
-
build
-
content
-
message
-
sourceBranch
- Parameters:
value- the name of the branch that should serve as the starting point for the edit operation. If not set, this defaults to the branch provided in the constructor- Returns:
this- Since:
- 5.2
-
sourceCommitId
- Parameters:
value- the commit ID that the file was edited on, ornullif this is a new file.- Returns:
this
-