ModuleProvider.java :  » IntelliJ » intellij-ivy-plugin » net » sf » ivyide » Java Open Source

Java Open Source » IntelliJ » intellij ivy plugin 
intellij ivy plugin » net » sf » ivyide » ModuleProvider.java
package net.sf.ivyide;

import java.io.File;
import java.util.Map;

public interface ModuleProvider {

    /**
     * Get module source descriptor for a module that
     * is included with source.
     *
     * @param file Root directory of a module.
     * @return null if it does not exist
     */
    ModuleSourceDescriptor getModuleSource(File file);

    /**
     * Get a list of all modules in the project.
     *
     * @return List of [moduleId, root dir] pairs.
     */
    Map<ModuleId, File> getModules();

    ResolvedModule resolveModule(File moduleDir);

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.