public interface TechnologyScopeDetector
Given a project within a workspace, this API detects the relevant set of technology scopes of a project.
The API supports registrations of TechnologyScopeDetectorHelper
classes or instances.
Technology scope detector helpers are used to help determine the technology scopes relevant to the project type.
To get an instance of the technology scope detector, use
oracle.ide.model.TechnologyScopeManager#getTechnologyScopeManager()
TechnologyScopeManager
Modifier and Type | Field and Description |
---|---|
static java.net.URL |
END |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
detectTechnologyScopeIds(Workspace workspace,
Project project)
Given a project, scans and finds the technology scopes relevant to the
project
|
java.util.Collection<java.lang.String> |
detectTechnologyScopeIdsOfProjectChanges(Workspace workspace,
Project project)
Given a workspace and a project, return the set of technology scope id
that the project must add to initialize the proper features.
|
java.util.Collection<java.lang.String> |
detectTechnologyScopeIdsOfURL(Project project,
java.net.URL url)
Given a workspace and a project, returns the set of technology scope ids that
the project must have.
|
java.util.Map<Project,java.util.concurrent.ConcurrentLinkedQueue<java.net.URL>> |
technologyScopesOfProjectBatch(Workspace workspace,
java.util.Collection<Project> project) |
java.util.Collection<java.lang.String> detectTechnologyScopeIds(Workspace workspace, Project project) throws java.lang.InterruptedException
workspace
- the workspace the projectproject
- the project to be scannedjava.lang.InterruptedException
java.util.Collection<java.lang.String> detectTechnologyScopeIdsOfURL(Project project, java.net.URL url) throws java.lang.InterruptedException
project
- the project for which the tech scopes are being detectedurl
- of the nodejava.lang.InterruptedException
java.util.Collection<java.lang.String> detectTechnologyScopeIdsOfProjectChanges(Workspace workspace, Project project) throws java.lang.InterruptedException
workspace
- the workspace the projectproject
- the project for which the tech scopes are being detectedjava.lang.InterruptedException