package com.atlassian.bitbucket.content;

import javax.annotation.Nonnull;

/**
 * Allows for filtering diff lines.
 */
public abstract class DiffContentFilter {

    /**
     * @param line that might be filtered
     * @return {@code false} if the line should be ignored, else {@code true} to return this line in the diff output
     */
    public abstract boolean apply(@Nonnull String line);
}
