Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 22dc36c8d6ce5762637384d720be2c35c29b7bc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2010-2012, 2015 Eike Stepper (Berlin, Germany) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Eike Stepper - initial API and implementation
 */
package org.eclipse.emf.cdo.common.branch;

/**
 * A call-back interface that indicates the ability to <i>handle</i> branches that are passed from other entities.
 *
 * @see CDOBranchManager#getBranches(int, int, CDOBranchHandler)
 * @author Eike Stepper
 * @since 3.0
 * @apiviz.uses {@link CDOBranch} - - handles
 */
public interface CDOBranchHandler
{
  /**
   * A call-back method that other entities can pass branches to.
   */
  public void handleBranch(CDOBranch branch);
}

Back to the top