Interface DMNPathsHelper
-
public interface DMNPathsHelperThis 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.StringgetRelativeURI(org.uberfire.backend.vfs.Path dmnModelPath, org.uberfire.backend.vfs.Path includedModelPath)
-
-
-
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)
- Parameters:
dmnModelPath- ThePathof the DMN file being edited.includedModelPath- ThePathof an included external model file.- Returns:
-
-