您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IndexChangedListener.java 687B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2008, Robin Rosenberg <robin.rosenberg@dewire.com> 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.events;
  11. /**
  12. * Receives {@link org.eclipse.jgit.events.IndexChangedEvent}s.
  13. */
  14. public interface IndexChangedListener extends RepositoryListener {
  15. /**
  16. * Invoked when any change is made to the index.
  17. *
  18. * @param event
  19. * information about the changes.
  20. */
  21. void onIndexChanged(IndexChangedEvent event);
  22. }