package com.atlassian.bitbucket.scm.bulk;

import com.atlassian.bitbucket.scm.Command;

import javax.annotation.Nonnull;

/**
 * @since 4.2
 */
public interface ScmBulkContentCommandFactory {

    /**
     * @param parameters to specify where to get contents from
     * @param callback to process resulting content
     * @return the command
     */
    @Nonnull
    Command<Void> contents(@Nonnull BulkContentCommandParameters parameters, @Nonnull BulkContentCallback callback);
}
