@Test public void testGetDMNModelsPathsWhenWorkspaceProjectIsNull() { doTestGetPathsWhenWorkspaceProjectIsNull(workspaceProject1 -> pathsHelper.getDMNModelsPaths(null)); }
@Override public List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject) { if (workspaceProject != null) { return getPathsByWorkspaceProject(dmnQueryTerms(workspaceProject.getRootPath().toURI())); } else { return getStandalonePaths(dmnModelFilter()); } }
DMNPathsHelperImpl implements DMNPathsHelper { @Override public List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject) { if (workspaceProject != null) { return getPathsByWorkspaceProject(dmnQueryTerms(workspaceProject.getRootPath().toURI())); } else { return getStandalonePaths(dmnModelFilter()); } } }
DMNPathsHelperImpl implements DMNPathsHelper { @Override public List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject) { if (workspaceProject != null) { return getPathsByWorkspaceProject(dmnQueryTerms(workspaceProject.getRootPath().toURI())); } else { return getStandalonePaths(dmnModelFilter()); } } DMNPathsHelperImpl(); @Inject  DMNPathsHelperImpl(final RefactoringQueryService refactoringQueryService,
                              final DMNImportTypesHelper importTypesHelper,
                              final @Named("ioStrategy") IOService ioService); }
DMNPathsHelperImpl implements DMNPathsHelper { @Override public List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject) { if (workspaceProject != null) { return getPathsByWorkspaceProject(dmnQueryTerms(workspaceProject.getRootPath().toURI())); } else { return getStandalonePaths(dmnModelFilter()); } } DMNPathsHelperImpl(); @Inject  DMNPathsHelperImpl(final RefactoringQueryService refactoringQueryService,
                              final DMNImportTypesHelper importTypesHelper,
                              final @Named("ioStrategy") IOService ioService); @Override List<Path> getModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getPMMLModelsPaths(final WorkspaceProject workspaceProject); @Override String getRelativeURI(final Path dmnModelPath,
                                 final Path includedModelPath); }
DMNPathsHelperImpl implements DMNPathsHelper { @Override public List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject) { if (workspaceProject != null) { return getPathsByWorkspaceProject(dmnQueryTerms(workspaceProject.getRootPath().toURI())); } else { return getStandalonePaths(dmnModelFilter()); } } DMNPathsHelperImpl(); @Inject  DMNPathsHelperImpl(final RefactoringQueryService refactoringQueryService,
                              final DMNImportTypesHelper importTypesHelper,
                              final @Named("ioStrategy") IOService ioService); @Override List<Path> getModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getDMNModelsPaths(final WorkspaceProject workspaceProject); @Override List<Path> getPMMLModelsPaths(final WorkspaceProject workspaceProject); @Override String getRelativeURI(final Path dmnModelPath,
                                 final Path includedModelPath);  }