1 /* 2 * Copyright (C) 2010, 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.events; 12 13 /** 14 * Describes a change to one or more keys in the configuration. 15 */ 16 public class ConfigChangedEvent extends RepositoryEvent<ConfigChangedListener> { 17 /** {@inheritDoc} */ 18 @Override 19 public Class<ConfigChangedListener> getListenerType() { 20 return ConfigChangedListener.class; 21 } 22 23 /** {@inheritDoc} */ 24 @Override 25 public void dispatch(ConfigChangedListener listener) { 26 listener.onConfigChanged(this); 27 } 28 }