View Javadoc
1   /*
2    * Copyright (C) 2011, GitHub Inc. and others
3    *
4    * This program and the accompanying materials are made available under the
5    * terms of the Eclipse Distribution License v. 1.0 which is available at
6    * https://www.eclipse.org/org/documents/edl-v10.php.
7    *
8    * SPDX-License-Identifier: BSD-3-Clause
9    */
10  package org.eclipse.jgit.submodule;
11  
12  /**
13   * Enumeration of different statuses that a submodule can be in
14   */
15  public enum SubmoduleStatusType {
16  
17  	/** Submodule's configuration is missing */
18  	MISSING,
19  
20  	/** Submodule's Git repository is not initialized */
21  	UNINITIALIZED,
22  
23  	/** Submodule's Git repository is initialized */
24  	INITIALIZED,
25  
26  	/**
27  	 * Submodule commit checked out is different than the commit referenced in
28  	 * the index tree
29  	 */
30  	REV_CHECKED_OUT;
31  }