DependableFactory instead.@Deprecated
public final class ProjectDependencyFactory
extends java.lang.Object
ProjectDependencyFactory class. Responsible for creating
objects a project can depend on. In general, objects a project
depends on are dealt with first by commands such as compilation,
deployment, etc..| Modifier and Type | Method and Description |
|---|---|
static void |
cache(Dependable dependable)
Deprecated.
Caches the specified
Dependable. |
static Dependable |
find(Element source)
Deprecated.
Finds
Dependable that encapsulates the source object. |
static Dependable |
find(Element source,
Folder owner)
Deprecated.
Finds
Dependable that encapsulates the source object contained
by the specified owner. |
static Dependable[] |
findAll(Element source)
Deprecated.
Returns all
Dependables associated with the given
source. |
static Dependable |
findOrCreate(Element source,
Folder owner)
Deprecated.
Finds or creates a
Dependable that encapsulates the source object. |
static boolean |
hasFactory(Element source)
Deprecated.
Returns
true if a factory has been registered with the
given key. |
static void |
registerFactory(DependableRecognizer factory)
Deprecated.
|
static void |
removeFactory(DependableRecognizer factory)
Deprecated.
|
static void |
uncache(Dependable dependable)
Deprecated.
Uncaches the specified
Dependable. |
@Deprecated public static void registerFactory(DependableRecognizer factory)
DependableRecognizer that is used to
instantiate a dependable object.@Deprecated public static void removeFactory(DependableRecognizer factory)
public static boolean hasFactory(Element source)
true if a factory has been registered with the
given key.public static Dependable findOrCreate(Element source, Folder owner) throws java.lang.IllegalAccessException, java.lang.InstantiationException
Dependable that encapsulates the source object.
The owner is the folder containing the source. If the
source object is null or a DependableRecognizer
is not found, null is returned.java.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionpublic static Dependable find(Element source)
Dependable that encapsulates the source object.
If a DependableRecognizer is not found, null
is returned.public static Dependable find(Element source, Folder owner)
Dependable that encapsulates the source object contained
by the specified owner.public static Dependable[] findAll(Element source)
Dependables associated with the given
source.public static void cache(Dependable dependable)
Dependable.public static void uncache(Dependable dependable)
Dependable.