public static class RestrictionMatchRequest.Builder
extends com.atlassian.bitbucket.util.BuilderSupport
Constructor and Description |
---|
Builder(com.atlassian.bitbucket.repository.Repository repository,
List<RefRestrictionType> types) |
Modifier and Type | Method and Description |
---|---|
RestrictionMatchRequest |
build() |
RestrictionMatchRequest.Builder |
refChange(com.atlassian.bitbucket.repository.RefChange value) |
RestrictionMatchRequest.Builder |
refChanges(Iterable<com.atlassian.bitbucket.repository.RefChange> value) |
RestrictionMatchRequest.Builder |
user(com.atlassian.bitbucket.user.ApplicationUser value) |
public Builder(@Nonnull com.atlassian.bitbucket.repository.Repository repository, @Nonnull List<RefRestrictionType> types)
@Nonnull public RestrictionMatchRequest build()
@Nonnull public RestrictionMatchRequest.Builder refChange(@Nonnull com.atlassian.bitbucket.repository.RefChange value)
@Nonnull public RestrictionMatchRequest.Builder refChanges(@Nonnull Iterable<com.atlassian.bitbucket.repository.RefChange> value)
@Nonnull public RestrictionMatchRequest.Builder user(@Nullable com.atlassian.bitbucket.user.ApplicationUser value)
Copyright © 2019 Atlassian. All rights reserved.