Integrate commons-maven to eliminate classpath text file based solution
This commit is contained in:
@@ -1,14 +1,33 @@
|
||||
package org.springframework.ide.vscode.commons.java;
|
||||
|
||||
import java.nio.file.Path;
|
||||
|
||||
public interface IClasspath {
|
||||
|
||||
/**
|
||||
* Deprecated: Remove this. We should expose here information about classpath as a list of entries. Not
|
||||
* depend on where it is read from.
|
||||
*/
|
||||
@Deprecated
|
||||
Path getPath();
|
||||
|
||||
}
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2016 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.java;
|
||||
|
||||
import java.nio.file.Path;
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* Classpath for a Java artifact
|
||||
*
|
||||
* @author Kris De Volder
|
||||
* @author Alex Boyko
|
||||
*
|
||||
*/
|
||||
public interface IClasspath {
|
||||
|
||||
/**
|
||||
* Classpath entries paths
|
||||
*
|
||||
* @return collection of classpath entries in a form file/folder paths
|
||||
* @throws Exception
|
||||
*/
|
||||
Collection<Path> getClasspathEntries() throws Exception;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user