Class DiffContentFilter

java.lang.Object
com.atlassian.bitbucket.content.DiffContentFilter

public abstract class DiffContentFilter extends Object
Allows for filtering diff lines.
  • Constructor Details

    • DiffContentFilter

      public DiffContentFilter()
  • Method Details

    • apply

      public abstract boolean apply(@Nonnull String line)
      Parameters:
      line - that might be filtered
      Returns:
      false if the line should be ignored, else true to return this line in the diff output