Skip navigation links

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

E17493-04


oracle.ide.model
Class DependencyConfiguration

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.model.DependencyConfiguration


public class DependencyConfiguration
extends HashStructureAdapter

Field Summary
static java.lang.String DATA_KEY
          Key for obtaining the project dependency configuration.
static java.lang.String DEPENDENCY_LIST
           

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Method Summary
 void addDependency(Dependable dependable)
          Adds a dependency to the project.
 void attachDependencyChangeListener(StructureChangeListener listener)
           
 void detachDependencyChangeListener(StructureChangeListener listener)
           
 java.util.List getAllDependenciesList()
          Returns all dependables this project depends on.
 java.util.Iterator getDependencies()
          toHashStructure Returns dependables this project depends on.
 java.util.List getDependencyList()
          Get a list of Dependables this project depends on.
static DependencyConfiguration getInstance(Project project)
           
static DependencyConfiguration getInstance(PropertyStorage project)
           
static java.util.logging.Logger getLogger()
           
 void removeDependency(Dependable dependable)
          Removes the specified element from the dependencies list.
 void setDependencyList(java.util.List dependencies)
           

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

DATA_KEY

public static final java.lang.String DATA_KEY
Key for obtaining the project dependency configuration.

DEPENDENCY_LIST

public static final java.lang.String DEPENDENCY_LIST
See Also:
Constant Field Values

Method Detail

getInstance

public static DependencyConfiguration getInstance(Project project)

getInstance

public static DependencyConfiguration getInstance(PropertyStorage project)

attachDependencyChangeListener

public void attachDependencyChangeListener(StructureChangeListener listener)

detachDependencyChangeListener

public void detachDependencyChangeListener(StructureChangeListener listener)

getDependencyList

public java.util.List getDependencyList()
Get a list of Dependables this project depends on. Returns a copy of the internal list or null if there are no dependencies.

setDependencyList

public void setDependencyList(java.util.List dependencies)

addDependency

public void addDependency(Dependable dependable)
                   throws java.lang.IllegalStateException
Adds a dependency to the project. If addDependency(Dependable) is called when a mutually-exclusive dependency already exists on the Dependable source an IllegalStateException is thrown. For example, if addDependency is called with a dependable that represents a build-output path, and there is an existing dependency on a deployment profile in that same project, an exception is thrown.
Parameters:
dependable - the Dependable
Throws:
java.lang.IllegalStateException - if a mutually exclusive dependency already exists

removeDependency

public void removeDependency(Dependable dependable)
Removes the specified element from the dependencies list.

getLogger

public static final java.util.logging.Logger getLogger()

getDependencies

public java.util.Iterator getDependencies()
toHashStructure Returns dependables this project depends on. Returns a copy of the internal dependency list.

getAllDependenciesList

public java.util.List getAllDependenciesList()
Returns all dependables this project depends on. Recurses collecting dependables of dependables.
Returns:
List of all dependables.

Skip navigation links

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

E17493-04


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