Class Diffs.Builder

  • Enclosing class:
    Diffs

    public static class Diffs.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • removedItems

        public Diffs.Builder removedItems​(List<String> removedItems)
        This array identifies the items that are present in the baseline, but are missing from the current assessment.
        Parameters:
        removedItems - the value to set
        Returns:
        this builder
      • addedItems

        public Diffs.Builder addedItems​(List<String> addedItems)
        This array identifies the items that are present in the current assessment, but are missing from the baseline.
        Parameters:
        addedItems - the value to set
        Returns:
        this builder
      • modifiedItems

        public Diffs.Builder modifiedItems​(List<String> modifiedItems)
        This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.
        Parameters:
        modifiedItems - the value to set
        Returns:
        this builder
      • severity

        public Diffs.Builder severity​(Diffs.Severity severity)
        The severity of this diff.
        Parameters:
        severity - the value to set
        Returns:
        this builder
      • build

        public Diffs build()