package com.atlassian.stash.internal.task.enrich;

import com.atlassian.stash.internal.task.InternalTask;
import com.atlassian.stash.internal.task.InternalTaskContext;

import javax.annotation.Nonnull;

/**
 * @since 3.4
 */
public interface TaskEnricher {

    @Nonnull
    InternalTask enrich(@Nonnull InternalTask task);

    @Nonnull
    Iterable<InternalTask> enrich(@Nonnull InternalTaskContext taskContext, @Nonnull Iterable<InternalTask> tasks);

}