org.schmant.project.intellij
Class IntelliJProjectInfoCollector

java.lang.Object
  extended by org.schmant.project.intellij.AbstractIntelliJInfoCollector
      extended by org.schmant.project.intellij.IntelliJProjectInfoCollector
All Implemented Interfaces:
ProjectRepositoryInfoCollector<IntelliJWorkspace,IntelliJWorkspaceConfiguration>

public class IntelliJProjectInfoCollector
extends AbstractIntelliJInfoCollector

This object is used by the IntelliJWorkspace to read information from a workspace's .ipr file.

Since:
0.7.1
Author:
Karl Gustafsson

Constructor Summary
protected IntelliJProjectInfoCollector(DirectoryView projRoot, EFile iprFile, IntelliJWorkspaceSettings settings)
           
 
Method Summary
 ProjectRepositoryInfo<IntelliJWorkspaceConfiguration> collect(IntelliJWorkspace wos)
          Collect information for the workspace and return an object containing the parsed information.
 
Methods inherited from class org.schmant.project.intellij.AbstractIntelliJInfoCollector
createIprFileParser, getModuleCreatorPlugins, getProjectRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntelliJProjectInfoCollector

protected IntelliJProjectInfoCollector(DirectoryView projRoot,
                                       EFile iprFile,
                                       IntelliJWorkspaceSettings settings)
Parameters:
projRoot - The workspace's (project's) root directory.
settings - May be null.
Method Detail

collect

public ProjectRepositoryInfo<IntelliJWorkspaceConfiguration> collect(IntelliJWorkspace wos)
Description copied from interface: ProjectRepositoryInfoCollector
Collect information for the workspace and return an object containing the parsed information.

Parameters:
wos - A reference to the workspace object. This method is called from the workspace constructor, so no methods may be called on this object since it is not fully initialized yet. The created projects can save it for future reference, though.
Returns:
Workspace information.