ilog.rules.studio.javascript.dom

Class IlrImportHelper

  • java.lang.Object
    • ilog.rules.studio.javascript.dom.IlrImportHelper


  • public class IlrImportHelper
    extends java.lang.Object
    Imports IProject elements into the workspace. When a project is imported it is also opened.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrImportHelper() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static org.eclipse.core.resources.IProject[] importFolderContent(java.io.FileFilter fileFilter, java.lang.String folderPath)
      Imports all the projects contained in the given folder.
      static org.eclipse.core.resources.IProject[] importFolderContent(java.io.FileFilter fileFilter, java.lang.String folderPath, boolean copy)
      Imports all the projects contained in the given folder.
      static org.eclipse.core.resources.IProject[] importFolderContent(java.lang.String folderPath)
      Imports all the projects contained in the given folder.
      static org.eclipse.core.resources.IProject[] importFolderContent(java.lang.String folderPath, boolean copy)
      Imports all the projects contained in the given folder.
      static org.eclipse.core.resources.IProject importProject(java.io.FileFilter fileFilter, java.lang.String projectPath)
      Imports the project contained in the given folder.
      static org.eclipse.core.resources.IProject importProject(java.io.FileFilter fileFilter, java.lang.String projectPath, boolean copy)
      Imports the project contained in the given folder.
      static org.eclipse.core.resources.IProject importProject(java.lang.String projectPath)
      Imports the project contained in the given folder.
      static org.eclipse.core.resources.IProject importProject(java.lang.String projectPath, boolean copy)
      Imports the project contained in the given folder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrImportHelper

        public IlrImportHelper()
    • Method Detail

      • importFolderContent

        public static org.eclipse.core.resources.IProject[] importFolderContent(java.lang.String folderPath)
        Imports all the projects contained in the given folder. It imports projects recursively. Project resources are copied in the workspace.
        Parameters:
        folderPath - The absolute path to the folder.
        Returns:
        The list of imported projects.
      • importFolderContent

        public static org.eclipse.core.resources.IProject[] importFolderContent(java.io.FileFilter fileFilter,
                                                                java.lang.String folderPath)
        Imports all the projects contained in the given folder. It imports projects recursively. Project resources are copied in the workspace.
        Parameters:
        fileFilter - A filter to exclude files from being imported.
        folderPath - The absolute path to the folder.
        Returns:
        The list of imported projects.
      • importFolderContent

        public static org.eclipse.core.resources.IProject[] importFolderContent(java.lang.String folderPath,
                                                                boolean copy)
        Imports all the projects contained in the given folder. It imports projects recursively. Project resources are copied in the workspace.
        Parameters:
        folderPath - The absolute path to the folder.
        copy - Indicates if the folder resources have to be copied.
        Returns:
        The list of imported projects.
      • importFolderContent

        public static org.eclipse.core.resources.IProject[] importFolderContent(java.io.FileFilter fileFilter,
                                                                java.lang.String folderPath,
                                                                boolean copy)
        Imports all the projects contained in the given folder. It imports projects recursively. Project resources are copied in the workspace.
        Parameters:
        fileFilter - A filter to exclude files from being imported.
        folderPath - The absolute path to the folder.
        copy - Indicates if the folder resources have to be copied.
        Returns:
        The list of imported projects.
      • importProject

        public static org.eclipse.core.resources.IProject importProject(java.lang.String projectPath)
        Imports the project contained in the given folder. This folder must contain a ".project" file and a ".ruleproject" file for rule projects. The project resources are copied.
        Parameters:
        projectPath - The absolute path to the folder to import.
        Returns:
        The imported project.
      • importProject

        public static org.eclipse.core.resources.IProject importProject(java.io.FileFilter fileFilter,
                                                        java.lang.String projectPath)
        Imports the project contained in the given folder. This folder must contain a ".project" file and a ".ruleproject" file for rule projects. The project resources are copied.
        Parameters:
        fileFilter - A filter to exclude files from being imported.
        projectPath - The absolute path to the folder to import.
        Returns:
        The imported project.
      • importProject

        public static org.eclipse.core.resources.IProject importProject(java.io.FileFilter fileFilter,
                                                        java.lang.String projectPath,
                                                        boolean copy)
        Imports the project contained in the given folder. This folder must contain a ".project" file and a ".ruleproject" file for rule projects.
        Parameters:
        fileFilter - A filter to exclude files from being imported.
        projectPath - The absolute path to the folder to import.
        copy - Indicates if the project resources have to be copied.
        Returns:
        The imported project.
      • importProject

        public static org.eclipse.core.resources.IProject importProject(java.lang.String projectPath,
                                                        boolean copy)
        Imports the project contained in the given folder. This folder must contain a ".project" file and a ".ruleproject" file for rule projects.
        Parameters:
        projectPath - The absolute path to the folder to import.
        copy - Indicates if the project resources have to be copied.
        Returns:
        The imported project.

© Copyright IBM Corp. 1987, 2017