public static class SimpleMergeHookRequest.Builder extends AbstractRepositoryHookRequest.AbstractBuilder<SimpleMergeHookRequest.Builder>
NOT_BLANK
Constructor and Description |
---|
Builder(Repository repository) |
Modifier and Type | Method and Description |
---|---|
SimpleMergeHookRequest |
build() |
SimpleMergeHookRequest.Builder |
fromRef(RepositoryRef value) |
SimpleMergeHookRequest.Builder |
mergeHash(String value) |
SimpleMergeHookRequest.Builder |
message(String value) |
protected SimpleMergeHookRequest.Builder |
self() |
SimpleMergeHookRequest.Builder |
strategyId(String value) |
SimpleMergeHookRequest.Builder |
toRef(RepositoryRef value) |
context, context, dryRun
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull Repository repository)
@Nonnull public SimpleMergeHookRequest build()
@Nonnull public SimpleMergeHookRequest.Builder fromRef(@Nonnull RepositoryRef value)
@Nonnull public SimpleMergeHookRequest.Builder mergeHash(@Nullable String value)
@Nonnull public SimpleMergeHookRequest.Builder message(@Nullable String value)
@Nonnull public SimpleMergeHookRequest.Builder strategyId(@Nullable String value)
value
- the new valuethis
@Nonnull public SimpleMergeHookRequest.Builder toRef(@Nonnull RepositoryRef value)
@Nonnull protected SimpleMergeHookRequest.Builder self()
self
in class AbstractRepositoryHookRequest.AbstractBuilder<SimpleMergeHookRequest.Builder>
Copyright © 2022 Atlassian. All rights reserved.