Class DuplicateUuidMergeProblem


public final class DuplicateUuidMergeProblem extends MergeValidationProblem
Non-blocking merge validation problem with duplicate UUID
  • Constructor Details

    • DuplicateUuidMergeProblem

      public DuplicateUuidMergeProblem(String message, UUID uuid, String mainSymlink, String otherSymlink)
      Creates a new instance.
      Parameters:
      message - the merge problem message, cannot be null
      uuid - UUID that two objects have at once, cannot be null
      mainSymlink - symlink with a duplicate UUID on the MAIN side, cannot be null
      otherSymlink - symlink with a duplicate UUID on the OTHER side, cannot be null
    • DuplicateUuidMergeProblem

      public DuplicateUuidMergeProblem(ComparisonNode node, String message, UUID uuid, String mainSymlink, String otherSymlink)
      Creates a new instance.
      Parameters:
      node - the comparison node, cannot be null
      message - the merge problem message, cannot be null
      uuid - UUID that two objects have at once, cannot be null
      mainSymlink - symlink with a duplicate UUID on the MAIN side, cannot be null
      otherSymlink - symlink with a duplicate UUID on the OTHER side, cannot be null
  • Method Details

    • getUuid

      public UUID getUuid()
      Returns the conflicting UUID.
      Returns:
      the conflicting UUID, cannot be null
    • getMainSymlink

      public String getMainSymlink()
      Returns the symlink on the MAIN side, that have conflicting UUID.
      Returns:
      the symlink on the MAIN side, that have conflicting UUID, cannot be null
    • getOtherSymlink

      public String getOtherSymlink()
      Returns the symlink on the OTHER side, that have conflicting UUID.
      Returns:
      the symlink on the OTHER side, that have conflicting UUID, cannot be null