public static class FileEditHookRequest.Builder extends AbstractRepositoryHookRequest.AbstractBuilder<FileEditHookRequest.Builder>
NOT_BLANK
Constructor and Description |
---|
Builder(Repository repository,
Branch branch,
String path,
InputSupplier<InputStream> content) |
Modifier and Type | Method and Description |
---|---|
FileEditHookRequest |
build() |
FileEditHookRequest.Builder |
fromHash(String value) |
FileEditHookRequest.Builder |
message(String value) |
protected FileEditHookRequest.Builder |
self() |
FileEditHookRequest.Builder |
sourceCommitId(String value) |
FileEditHookRequest.Builder |
toHash(String value) |
context, context, dryRun
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull Repository repository, @Nonnull Branch branch, @Nonnull String path, @Nonnull InputSupplier<InputStream> content)
@Nonnull public FileEditHookRequest build()
@Nonnull public FileEditHookRequest.Builder fromHash(@Nullable String value)
@Nonnull public FileEditHookRequest.Builder message(@Nullable String value)
@Nonnull public FileEditHookRequest.Builder sourceCommitId(@Nullable String value)
@Nonnull public FileEditHookRequest.Builder toHash(@Nullable String value)
@Nonnull protected FileEditHookRequest.Builder self()
self
in class AbstractRepositoryHookRequest.AbstractBuilder<FileEditHookRequest.Builder>
Copyright © 2022 Atlassian. All rights reserved.