org.schmant.project
Class AbstractJavaProject<T extends ProjectRepository>
java.lang.Object
org.schmant.project.AbstractProject<T>
org.schmant.project.AbstractJavaProject<T>
- All Implemented Interfaces:
- JavaProject, Project
- Direct Known Subclasses:
- EclipseJavaProjectImpl, IntelliJJavaProjectImpl
public abstract class AbstractJavaProject<T extends ProjectRepository>
- extends AbstractProject<T>
- implements JavaProject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJavaProject
public AbstractJavaProject(String name,
T wos,
DirectoryView projDir,
ProjectType[] types,
Set<DirectoryView> sourceDirs,
List<JavaProjectClasspathEntry> buildClasspath)
throws IOException
- Throws:
IOException
getSourceDirectories
public Set<DirectoryView> getSourceDirectories()
- Description copied from interface:
JavaProject
- Get the project's source code directories.
- Specified by:
getSourceDirectories
in interface JavaProject
- Returns:
- The project's source code directories.
getBuildClasspath
public List<JavaProjectClasspathEntry> getBuildClasspath()
- Description copied from interface:
JavaProject
- Get the project's build classpath. This includes library classpath
entries and entries representing other Java projects in the same
ProjectRepository
.
The order of the returned entries is significant.
- Specified by:
getBuildClasspath
in interface JavaProject
- Returns:
- The build classpath entries.
getProjectBuildDependencies
public Collection<JavaProject> getProjectBuildDependencies()
- Description copied from interface:
JavaProject
- Get the collection of projects that this projects has build dependencies
to. This is not the complete build classpath, just the project
dependencies.
- Specified by:
getProjectBuildDependencies
in interface JavaProject
- Returns:
- A collection of Java projects.
- See Also:
JavaProject.getBuildClasspath()