/******************************************************************************* * Copyright (c) 2012-2017 Codenvy, S.A. * 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: * Codenvy, S.A. - initial API and implementation *******************************************************************************/ package org.eclipse.che.api.git.shared; /** * Type of git diff operation. * * @author Igor Vinokur */ public enum DiffType { /** Only names of modified, added, deleted files. */ NAME_ONLY("--name-only"), /** * Names staus of modified, added, deleted files. * <p/> * Example: * <p/> * <pre> * D README.txt * A HOW-TO.txt * </pre> */ NAME_STATUS("--name-status"), RAW("--raw"); private final String value; DiffType(String value) { this.value = value; } public String getValue() { return value; } }