org.schmant.project.intellij
Class IntelliJModuleInfoCollector

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

public class IntelliJModuleInfoCollector
extends AbstractIntelliJInfoCollector

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

Since:
0.7.1
Author:
Karl Gustafsson

Constructor Summary
IntelliJModuleInfoCollector(DirectoryView wosRoot, EFile imlFile, 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

IntelliJModuleInfoCollector

public IntelliJModuleInfoCollector(DirectoryView wosRoot,
                                   EFile imlFile,
                                   IntelliJWorkspaceSettings settings)
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.