Package

org.suecarter

tablediff

Permalink

package tablediff

Visibility
  1. Public
  2. All

Type Members

  1. case class DiffLocation[T](value: T, iLeft: Option[Int], iRight: Option[Int]) extends Product with Serializable

    Permalink

    Represents a diff and where it optionally sits on the right and left side

    Represents a diff and where it optionally sits on the right and left side

    value

    actual value

    iLeft

    optional index into left sequence

    iRight

    optional index into right sequence

    Attributes
    protected
  2. sealed trait DiffLocationType extends AnyRef

    Permalink

    Enumeration of the types of Diffs, only left, only right or both

    Enumeration of the types of Diffs, only left, only right or both

    Attributes
    protected
  3. case class EitherSide[T](left: Option[T], right: Option[T]) extends Product with Serializable

    Permalink

    Value differs on side to the other.

    Value differs on side to the other. None means the value is missing on that side

    left

    Optional value on left of diff

    right

    Optional value on right of diff

  4. class JTableDiff extends AnyRef

    Permalink
  5. case class ReportContent[+R, +C, +M](rowHeaders: ReportSection[R] = emptySection, columnHeaders: ReportSection[C] = emptySection, mainData: ReportSection[M] = emptySection, rowColumnHeaders: ReportSection[C] = emptySection, fillForwardBlankHeaders: Boolean = true) extends Product with Serializable

    Permalink

    Class to contain report content.

    Class to contain report content. Think of the report being broken into 4 sections

    rowColumnHeaders| columnHeaders
    -------------------------------
    rowHeaders      | mainData
    R

    Type of row header elements

    C

    Type of all column header elements (including rowColumn header)

    M

    Type of main data elements

    rowHeaders

    bottom left section

    columnHeaders

    top right section

    mainData

    bottom right section

    rowColumnHeaders

    top left section

    fillForwardBlankHeaders

    if repeating values in the header sections are left blank, fill forward the values so that the produced diff has better context in header which drives the diff matching algorithm. Default true

Value Members

  1. object HTMLTableDiff

    Permalink

    Functions to produce html representation on table and tables containing diffs

  2. object InBoth extends DiffLocationType with Product with Serializable

    Permalink
    Attributes
    protected
  3. object OnlyLeft extends DiffLocationType with Product with Serializable

    Permalink
    Attributes
    protected
  4. object OnlyRight extends DiffLocationType with Product with Serializable

    Permalink
    Attributes
    protected
  5. object ReportContent extends Serializable

    Permalink
  6. object StringTableDiff

    Permalink
  7. object TableDiff

    Permalink

    Functions to produce and handle diff reports

Ungrouped