1 /*
2 * Copyright (C) 2012, Google 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
11 package org.eclipse.jgit.lib;
12
13 /**
14 * Base object type accessed during bitmap expansion.
15 *
16 * @since 3.0
17 */
18 public abstract class BitmapObject {
19 /**
20 * Get Git object type. See {@link org.eclipse.jgit.lib.Constants}.
21 *
22 * @return object type
23 */
24 public abstract int getType();
25
26 /**
27 * Get the name of this object.
28 *
29 * @return unique hash of this object.
30 */
31 public abstract ObjectId getObjectId();
32 }