001 /*
002 * Licensed Materials - Property of IBM
003 * Restricted Materials of IBM
004 *
005 * com.ibm.rational.wvcm.stp.cc.CcFindmergeListener
006 *
007 * (C) Copyright IBM Corporation 2011. All Rights Reserved.
008 * Note to U.S. Government Users Restricted Rights: Use, duplication or
009 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
010 */
011 package com.ibm.rational.wvcm.stp.cc;
012
013
014 /**
015 * Interface that extends the basic CcListener class. It is used by the Findmerge API's
016 *
017 */
018 public interface CcFindmergeListener extends CcListener {
019
020 /**
021 * As each mergeCandidate is found, the mergeCandidatesFound() method is
022 * called. Used by {@link CcView#doFindMergeCandidates(CcFindmergeListener, com.ibm.rational.wvcm.stp.cc.CcView.FindmergeFlag[], CcVobResource, java.util.List, javax.wvcm.Feedback)}findMergeCandidates
023 * and {@link CcView#doFindMergeCandidatesFromChangeSets(CcFindmergeListener, com.ibm.rational.wvcm.stp.cc.CcView.FindmergeFlag[], java.util.List, javax.wvcm.Feedback)}
024 *
025 * @param element The merge candidate just returned by the server.
026 */
027 public void mergeCandidateFound(CcMergeElement element);
028 }