Class MergeProblem

java.lang.Object
com._1c.g5.v8.dt.compare.merge.MergeProblem
Direct Known Subclasses:
ExternalMergeToolProblem, MergeValidationProblem

public class MergeProblem extends Object
A problem of merge.
  • Constructor Details

    • MergeProblem

      public MergeProblem(String message)
      Creates a new instance.
      Parameters:
      message - the merge problem message, may be null
    • MergeProblem

      public MergeProblem(ComparisonNode node, String message)
      Creates a new instance.
      Parameters:
      node - the comparison node, cannot be null
      message - the merge problem message, cannot be null
    • MergeProblem

      protected MergeProblem(ComparisonNode node, String message, boolean isBlocking)
      Creates a new instance. Should be used into the inheritors constructor.
      Parameters:
      node - the comparison node, may be null
      message - the merge problem message, may be null
      isBlocking - defines problem will be blocking or not
  • Method Details

    • getMessage

      public String getMessage()
      Returns the merge problem message.
      Returns:
      the merge problem message, may be null
    • getNodeId

      public Long getNodeId()
      Returns the identifier of the node with the merge problem.
      Returns:
      the identifier of the node with the merge problem, may be null
    • isBlocking

      public boolean isBlocking()
      Returns true if problem blocking and false if not.
      Returns:
      true if problem blocking and false if not