/*******************************************************************************
 * Copyright (c) 2018 Pivotal, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Pivotal, Inc. - initial API and implementation
 *******************************************************************************/
package org.springframework.ide.vscode.commons.languageserver.jdt.ls;

public interface ClasspathListener {

	void changed(Event event);

	public static class Event {

		public final String projectUri;
		public final String name;
		public final boolean deleted;
		public final Classpath classpath;

		public Event(String projectUri, String name, boolean deleted, Classpath classpath) {
			super();
			this.projectUri = projectUri;
			this.name = name;
			this.deleted = deleted;
			this.classpath = classpath;
		}

		@Override
		public String toString() {
			return "Event [projectUri=" + projectUri + ", name=" + name + ", deleted=" + deleted + ", classpath="
					+ classpath + "]";
		}
	}



}
