org.schmant.project.intellij
Class IntelliJJavaProjectImpl

java.lang.Object
  extended by org.schmant.project.AbstractProject<T>
      extended by org.schmant.project.AbstractJavaProject<IntelliJWorkspace>
          extended by org.schmant.project.intellij.IntelliJJavaProjectImpl
All Implemented Interfaces:
IntelliJJavaProject, JavaProject, Project

public class IntelliJJavaProjectImpl
extends AbstractJavaProject<IntelliJWorkspace>
implements IntelliJJavaProject


Constructor Summary
IntelliJJavaProjectImpl(String name, IntelliJWorkspace wos, DirectoryView projDir, Set<DirectoryView> sourceDirs, Set<DirectoryView> testSourceDirs, List<JavaProjectClasspathEntry> buildClasspath)
          Create an IntelliJ Java project object.
 
Method Summary
 Set<DirectoryView> getTestSourceDirectories()
          Get the test source directories for the project.
 String toString()
           
 
Methods inherited from class org.schmant.project.AbstractJavaProject
getBuildClasspath, getProjectBuildDependencies, getSourceDirectories
 
Methods inherited from class org.schmant.project.AbstractProject
getDirectory, getName, getRepository, getTypes, isOfType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.schmant.project.java.JavaProject
getBuildClasspath, getProjectBuildDependencies, getSourceDirectories
 
Methods inherited from interface org.schmant.project.Project
getDirectory, getName, getTypes, isOfType
 

Constructor Detail

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.
Method Detail

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