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

E17493-02

oracle.ide.dependency
Class Scope

java.lang.Object
  extended by oracle.ide.dependency.Scope

public class Scope
extends java.lang.Object

The scope of a dependency search.


Constructor Summary
Scope(Project project)
           
Scope(Project project, java.net.URL url)
           
Scope(Workspace workspace)
           
Scope(Workspace workspace, WorkingSet workingSet)
           
 
Method Summary
 java.util.Collection<Project> getProjects()
          Get the set of projects that are in scope.
 boolean isIncluded(Project project, ContentSet content, java.net.URL url)
          Determine whether a URL in included in this scope.
 boolean isIncluded(Project project, java.lang.String relativePath)
          Determine whether a relative path is included in this scope.
 boolean isIncluded(Project project, java.net.URL url)
          Determine whether a URL in included in this scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scope

public Scope(Workspace workspace)

Scope

public Scope(Workspace workspace,
             WorkingSet workingSet)

Scope

public Scope(Project project)

Scope

public Scope(Project project,
             java.net.URL url)
Method Detail

getProjects

public java.util.Collection<Project> getProjects()
Get the set of projects that are in scope.

Returns:
the projects that are in scope

isIncluded

public boolean isIncluded(Project project,
                          java.net.URL url)
Determine whether a URL in included in this scope. If the caller knows what content set the URL belongs to, it is faster to call isIncluded(Project, ContentSet, URL).

Parameters:
project - the project containing the URL
url - the URL
Returns:
true if this URL is included, false otherwise

isIncluded

public boolean isIncluded(Project project,
                          ContentSet content,
                          java.net.URL url)
Determine whether a URL in included in this scope.

Parameters:
project - the project containing the URL
content - the project content set containing the URL
url - the URL
Returns:
true if this URL is included, false otherwise

isIncluded

public boolean isIncluded(Project project,
                          java.lang.String relativePath)
Determine whether a relative path is included in this scope.

Parameters:
project - the project containing the URL
relativePath - the relative path
Returns:
true if this path is included, false otherwise

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.