blob: f6c79b5abe709161d32b82b9e6f253190a64cc91 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Obeo.
* 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:
* Obeo - initial API and implementation
*******************************************************************************/
package org.eclipse.emf.compare.ide.ui.tests.git.framework;
/**
* The different merge strategies. These strategies are provided by EGit or EMFCompare.
*
* @author <a href="mailto:mathieu.cartaud@obeo.fr">Mathieu Cartaud</a>
*/
public enum GitMergeStrategyID {
/** The default merge strategy used by JGit. */
JGIT_DEFAULT("jgit-default-mergeStrategy"), //$NON-NLS-1$
/** The default merge strategy for EMFCompare. */
MODEL_RECURSIVE("model recursive"), //$NON-NLS-1$
/** The merge strategy used for additif merge in EMFCompare. */
MODEL_ADDITIVE("model additive"); //$NON-NLS-1$
/** The value of the enum to return. */
private String value;
/**
* Constructor.
*
* @param value
* The text value associated with the enum value
*/
GitMergeStrategyID(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}