public class ProjectContentRootFactory extends java.lang.Object implements ContentRootFactory
Note: updating is possible, but not needed by Audit currently.
Constructor and Description |
---|
ProjectContentRootFactory() |
Modifier and Type | Method and Description |
---|---|
void |
getProjectRoots(Workspace workspace,
Project project,
IntersectedFilters projectContentFilters,
IntersectedFilters auxiliaryContentFilters,
java.util.Collection<ContentRoot> roots)
Gets content roots for a project.
|
void |
getWorkspaceRoots(Workspace workspace,
IntersectedFilters applicationContentFilters,
IntersectedFilters auxiliaryContentFilters,
java.util.Collection<ContentRoot> roots)
Gets content roots for a workspace.
|
public void getWorkspaceRoots(Workspace workspace, IntersectedFilters applicationContentFilters, IntersectedFilters auxiliaryContentFilters, java.util.Collection<ContentRoot> roots)
ContentRootFactory
getWorkspaceRoots
in interface ContentRootFactory
workspace
- The workspace.applicationContentFilters
- The filters for application content.auxiliaryContentFilters
- The filters for auxiliary application content.roots
- A collection to which to add the roots.public void getProjectRoots(Workspace workspace, Project project, IntersectedFilters projectContentFilters, IntersectedFilters auxiliaryContentFilters, java.util.Collection<ContentRoot> roots)
ContentRootFactory
getProjectRoots
in interface ContentRootFactory
workspace
- The workspace containing the project.project
- The project.projectContentFilters
- The filters for project content.auxiliaryContentFilters
- The filters for auxiliary project content.roots
- A collection to which to add the roots.