Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.model
Interface TechnologyScopeDetector

All Known Implementing Classes:
TechnologyScopeManager.NullDetector

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()

Since:
11.1.2
See Also:
TechnologyScopeManager

Field Summary
static java.net.URL END
           
 
Method Summary
 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)
           
 

Field Detail

END

static final java.net.URL END
Method Detail

detectTechnologyScopeIds

java.util.Collection<java.lang.String> detectTechnologyScopeIds(Workspace workspace,
                                                                Project project)
Given a project, scans and finds the technology scopes relevant to the project

Parameters:
workspace - the workspace the project
project - the project to be scanned
Returns:
set of technology scope ids or empty Set if none have been found

detectTechnologyScopeIdsOfURL

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.

Parameters:
project - the project for which the tech scopes are being detected
url - of the node
Returns:
set of technology scope ids, or empty Set if none have been found

detectTechnologyScopeIdsOfProjectChanges

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.

Parameters:
workspace - the workspace the project
project - the project for which the tech scopes are being detected
Returns:
set of technology scope ids that have been added since last time, or empty Set if none have been found

technologyScopesOfProjectBatch

java.util.Map<Project,java.util.concurrent.ConcurrentLinkedQueue<java.net.URL>> technologyScopesOfProjectBatch(Workspace workspace,
                                                                                                               java.util.Collection<Project> project)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.