Package com.atlassian.bitbucket.content
Class FileEditHookRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.hook.repository.AbstractRepositoryHookRequest.AbstractBuilder<FileEditHookRequest.Builder>
com.atlassian.bitbucket.content.FileEditHookRequest.Builder
- Enclosing class:
- FileEditHookRequest
public static class FileEditHookRequest.Builder
extends AbstractRepositoryHookRequest.AbstractBuilder<FileEditHookRequest.Builder>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ConstructorDescriptionBuilder
(Repository repository, Branch branch, String path, InputSupplier<InputStream> content) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected FileEditHookRequest.Builder
self()
sourceCommitId
(String value) Methods inherited from class com.atlassian.bitbucket.hook.repository.AbstractRepositoryHookRequest.AbstractBuilder
context, context, dryRun
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
public Builder(@Nonnull Repository repository, @Nonnull Branch branch, @Nonnull String path, @Nonnull InputSupplier<InputStream> content)
-
-
Method Details
-
build
-
fromHash
-
message
-
sourceCommitId
-
toHash
-
self
- Specified by:
self
in classAbstractRepositoryHookRequest.AbstractBuilder<FileEditHookRequest.Builder>
-