package com.atlassian.stash.internal.pull;

import com.atlassian.bitbucket.pull.PullRequestMergeVeto;
import com.atlassian.bitbucket.scm.pull.MergeRequest;

import javax.annotation.Nonnull;
import java.util.Collection;

/**
 * Adds an accessor for {@link PullRequestMergeVeto vetoes} to the {@link MergeRequest}.
 *
 * @since 3.7
 */
public interface InternalMergeRequest extends MergeRequest {

    /**
     * @return a collection containing zero or more {@link PullRequestMergeVeto vetoes}
     */
    @Nonnull
    Collection<PullRequestMergeVeto> getVetoes();
}
