org.schmant.project.intellij
Class IntelliJJavaProjectImpl
java.lang.Object
org.schmant.project.AbstractProject<T>
org.schmant.project.AbstractJavaProject<IntelliJWorkspace>
org.schmant.project.intellij.IntelliJJavaProjectImpl
- All Implemented Interfaces:
- IntelliJJavaProject, JavaProject, Project
public class IntelliJJavaProjectImpl
- extends AbstractJavaProject<IntelliJWorkspace>
- implements IntelliJJavaProject
IntelliJJavaProjectImpl
public IntelliJJavaProjectImpl(String name,
IntelliJWorkspace wos,
DirectoryView projDir,
Set<DirectoryView> sourceDirs,
Set<DirectoryView> testSourceDirs,
List<JavaProjectClasspathEntry> buildClasspath)
throws IOException
- Create an IntelliJ Java project object.
- Parameters:
name
- The name of the project.wos
- The workspace object. No methods may be called on this object.
(See
EclipseWorkspaceInfoCollector.collect(EclipseWorkspace)
).projDir
- The project's directory.sourceDirs
- The project's source directories.buildClasspath
- The project's build classpath.
- Throws:
IOException
- On I/O errors.
getTestSourceDirectories
public Set<DirectoryView> getTestSourceDirectories()
- Get the test source directories for the project.
- Specified by:
getTestSourceDirectories
in interface IntelliJJavaProject
- Returns:
- The test source directories.
toString
public String toString()
- Overrides:
toString
in class Object