package com.atlassian.bitbucket.internal.branch.automerge;

import com.atlassian.bitbucket.repository.Branch;
import com.atlassian.bitbucket.repository.Repository;

public class MergeInstruction {

    private final Repository repository;
    private final Branch source;
    private final Branch destination;

    public MergeInstruction(Repository repository, Branch source, Branch destination) {
        this.repository = repository;
        this.source = source;
        this.destination = destination;
    }

    public Repository getRepository() {
        return repository;
    }

    public Branch getSource() {
        return source;
    }

    public Branch getDestination() {
        return destination;
    }
}
