You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BitmapObject.java 722B

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