public interface PullRequestRebaseability
GitRebaseHookRequest| Modifier and Type | Method and Description |
|---|---|
boolean |
canRebase()
Retrieves a flag indicating whether the necessary preconditions to perform a rebase are met.
|
boolean |
canWrite()
Retrieves a flag indicating whether the requesting user has write access to the pull request's source
repository, which is required in order to perform a rebase.
|
Collection<PullRequestRebaseVeto> |
getVetoes()
Retrieves vetoes which prevent performing a rebase.
|
boolean canRebase()
vetoes, or if the requesting user doesn't have write access, this will
always be false.true if the necessary preconditions for a rebase are met and no repository hooks vetoed the
dry run; otherwise, falseboolean canWrite()
false, a veto
is also added. If this returns false, canRebase will also return false.true if the requesting user has write access to the pull request's source repository;
otherwise, false@Nonnull Collection<PullRequestRebaseVeto> getVetoes()
vetoes from
PreRepositoryHooks used to validate
rebase hook requestsCopyright © 2019 Atlassian. All rights reserved.