|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.ide.model.DependencyConfiguration
public class DependencyConfiguration
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()
Returns dependables this project depends on. |
java.util.List |
getDependencyList()
Get a list of Dependable s 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 |
---|
public static final java.lang.String DATA_KEY
public static final java.lang.String DEPENDENCY_LIST
Method Detail |
---|
public static DependencyConfiguration getInstance(Project project)
public static DependencyConfiguration getInstance(PropertyStorage project)
public void attachDependencyChangeListener(StructureChangeListener listener)
public void detachDependencyChangeListener(StructureChangeListener listener)
public java.util.List getDependencyList()
Dependable
s this project depends on.
Returns a copy of the internal list or null if there are no dependencies.
public void setDependencyList(java.util.List dependencies)
public void addDependency(Dependable dependable) throws java.lang.IllegalStateException
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.
dependable
- the Dependable
java.lang.IllegalStateException
- if a mutually exclusive dependency already existspublic void removeDependency(Dependable dependable)
element
from the dependencies list.
public static final java.util.logging.Logger getLogger()
public java.util.Iterator getDependencies()
public java.util.List getAllDependenciesList()
List
of all dependables.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |