public static class ResolveRefRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder(Repository repository) |
Modifier and Type | Method and Description |
---|---|
ResolveRefRequest |
build() |
ResolveRefRequest.Builder |
refId(String value) |
ResolveRefRequest.Builder |
type(RefType value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull Repository repository)
@Nonnull public ResolveRefRequest build()
@Nonnull public ResolveRefRequest.Builder refId(@Nullable String value)
value
- the ref ID to resolve, or null
to resolve the default branchthis
@Nonnull public ResolveRefRequest.Builder type(@Nullable RefType value)
value
- the type of ref to resolve, or null
if the type is not known in advancethis
StandardRefType
Copyright © 2020 Atlassian. All rights reserved.