Class CompareMergeProcessBatch


  • public class CompareMergeProcessBatch
    extends Object
    A batch of compare/merge processes to be compared and possibly merged by IComparisonManager.
    • Constructor Detail

      • CompareMergeProcessBatch

        public CompareMergeProcessBatch​(CompareMergeProcessDescriptor descriptor)
        Creates the batch from one compare/merge process descriptor.
        Parameters:
        descriptor - the process descriptor, cannot be null
      • CompareMergeProcessBatch

        public CompareMergeProcessBatch​(List<CompareMergeProcessDescriptor> processDescriptors)
        Creates the batch from the given descriptors of compare/merge processes.
        Parameters:
        processDescriptors - the list of compare/merge process descriptors, cannot be null
    • Method Detail

      • getDescriptors

        public List<CompareMergeProcessDescriptor> getDescriptors()
        Gets list of compare/merge process descriptors.
        Returns:
        the list of process descriptors, never null
      • containsHandle

        public boolean containsHandle​(ComparisonProcessHandle handle)
        Checks whether the given process handle lies in this batch.
        Parameters:
        handle - the handle to check, cannot be null
        Returns:
        true if the handle lies in this batch, false otherwise