All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openl.rules.project.resolving.ResolvingStrategy Maven / Gradle / Ivy

There is a newer version: 5.27.9-jakarta
Show newest version
package org.openl.rules.project.resolving;

import java.io.File;
import java.util.List;

import org.openl.rules.project.model.ProjectDescriptor;

/**
 * Detects whether specified folder is OpenL project or not
 * 
 * @author PUdalau
 */
public interface ResolvingStrategy {
    /**
     * @param folder Project root.
     * @return true if specified folder is OpenL project
     */
    boolean isRulesProject(File folder);

    /**
     * @param folder Project root.
     * @return {@link ProjectDescriptor} that describes project
     */
    ProjectDescriptor resolveProject(File folder) throws ProjectResolvingException;

    List getInitializingModuleListeners();

    void addInitializingModuleListener(InitializingModuleListener initializingModuleListener);

    boolean removeInitializingModuleListener(InitializingModuleListener initializingModuleListener);

    void removeAllInitializingModuleListeners();
    
    void setInitializingModuleListeners(List initializingModuleListeners);

    List getInitializingProjectListeners();

    void addInitializingProjectListener(InitializingProjectListener initializingProjectListener);

    boolean removeInitializingProjectListener(InitializingProjectListener initializingProjectListener);

    void removeAllInitializingProjectListeners();

    void setInitializingProjectListeners(List initializingProjectListeners);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy