Interface DMNPathsHelper


  • public interface DMNPathsHelper
    This helper provides methods to handle common path operations in the DMN context.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<org.uberfire.backend.vfs.Path> getDMNModelsPaths​(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
      This method returns all DMN paths for a given project.
      List<org.uberfire.backend.vfs.Path> getModelsPaths​(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
      This method returns all model paths (DMN and PMML) for a given project.
      List<org.uberfire.backend.vfs.Path> getPMMLModelsPaths​(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
      This method returns all PMML paths for a given project.
      String getRelativeURI​(org.uberfire.backend.vfs.Path dmnModelPath, org.uberfire.backend.vfs.Path includedModelPath)
      Returns a String representation of the relative Path between two other Paths.
    • Method Detail

      • getModelsPaths

        List<org.uberfire.backend.vfs.Path> getModelsPaths​(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
        This method returns all model paths (DMN and PMML) for a given project.
        Parameters:
        workspaceProject - represents the project that will be scanned.
        Returns:
        all paths from a given project.
      • getDMNModelsPaths

        List<org.uberfire.backend.vfs.Path> getDMNModelsPaths​(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
        This method returns all DMN paths for a given project.
        Parameters:
        workspaceProject - represents the project that will be scanned.
        Returns:
        all paths from a given project.
      • getPMMLModelsPaths

        List<org.uberfire.backend.vfs.Path> getPMMLModelsPaths​(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject)
        This method returns all PMML paths for a given project.
        Parameters:
        workspaceProject - represents the project that will be scanned.
        Returns:
        all paths from a given project.
      • getRelativeURI

        String getRelativeURI​(org.uberfire.backend.vfs.Path dmnModelPath,
                              org.uberfire.backend.vfs.Path includedModelPath)
        Returns a String representation of the relative Path between two other Paths.
        Parameters:
        dmnModelPath - The Path of the DMN file being edited.
        includedModelPath - The Path of an included external model file.
        Returns: