package com.atlassian.bitbucket.task;

import javax.annotation.Nonnull;

/**
 * Maps {@link TaskState}s to their counts for typing and null-safety.
 */
public interface TaskCount {

    /**
     * @return the number of tasks in the given state
     */
    long getCount(@Nonnull TaskState taskState);

}
