Interface ComparisonDialogOperation


public interface ComparisonDialogOperation
Operation for comparing two revisions of a DataProvider element.
Since:
5.2.190303
  • Field Details

  • Method Details

    • baseRevision

      @NotNull @NotNull ComparisonDialogOperation baseRevision(@Nullable @Nullable Revision revision)
      Configures the base revision for the comparison dialog, displayed on the right side of the dialog. The default value for the base revision is the current revision of the given DataProvider.
      Parameters:
      revision - The base revision.
      Returns:
      This operation instance.
      Since:
      5.2.190303
    • compareToRevision

      @NotNull @NotNull ComparisonDialogOperation compareToRevision(@Nullable @Nullable Revision revision)
      Configures the revision to compare the base revision to, displayed on the left side of the dialog. The default value for the compare revision is the release revision of the DataProvider, if available.
      Parameters:
      revision - The compare revision.
      Returns:
      This operation instance.
      Since:
      5.2.190303
    • languages

      @NotNull @NotNull ComparisonDialogOperation languages(@Nullable @Nullable List<Language> languages)
      Configures the persistency languages to be shown in the comparison dialog. By default all persistency languages will be visualized.
      Parameters:
      languages - The persistency languages to be displayed.
      Returns:
      This operation instance.
      Since:
      5.2.190303
    • perform

      void perform(@NotNull @NotNull DataProvider element)
      Opens the comparison dialog using the configured settings. This method will wait for the user to close the dialog.
      Since:
      5.2.190303