package com.atlassian.stash.internal.scm.git.pull.task;

import javax.annotation.Nonnull;
import java.io.Serializable;

/**
 * @since 3.4
 */
public interface PullRequestTask extends Serializable {

    <T> T accept(@Nonnull PullRequestTaskVisitor<T> visitor);

    long getPullRequestId();

    int getRepositoryId();
}
