@Deprecated public class Dependency extends Object
Modifier and Type | Field and Description |
---|---|
static Dependency[] |
EMPTY
Deprecated.
An empty dependency array
|
Constructor and Description |
---|
Dependency(PackageId id)
Deprecated.
Creates a new dependency to the specified package id
|
Dependency(String groupId,
String name,
VersionRange range)
Deprecated.
Creates a new dependency reference.
|
Modifier and Type | Method and Description |
---|---|
static Dependency |
create(Dependency dep)
Deprecated.
|
static Dependency[] |
create(Dependency[] deps)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
static Dependency[] |
fromString(String... str)
Deprecated.
Returns dependencies from the given strings.
|
static Dependency |
fromString(String str)
Deprecated.
Returns a dependency from a string.
|
String |
getGroup()
Deprecated.
Returns the group of the dependency
|
String |
getGroupId()
Deprecated.
since 2.4. use
getGroup() instead. |
String |
getName()
Deprecated.
Returns the name of the dependency
|
String |
getPath()
Deprecated.
Returns the installation path of this dependency
|
VersionRange |
getRange()
Deprecated.
Returns the version range
|
int |
hashCode()
Deprecated.
|
boolean |
matches(PackageId id)
Deprecated.
Checks if the given package id matches this dependency specification.
|
static Dependency[] |
parse(String str)
Deprecated.
Parses a string serialization of dependency references generated by
toString(Dependency...) )} |
static Dependency[] |
toJrVltDependencies(Dependency[] deps)
Deprecated.
|
static Dependency |
toJrVltDependency(Dependency dep)
Deprecated.
|
String |
toString()
Deprecated.
|
static String |
toString(Dependency... deps)
Deprecated.
Returns a string representation from given dependencies.
|
public static final Dependency[] EMPTY
public Dependency(String groupId, String name, VersionRange range)
groupId
- group idname
- namerange
- version rangepublic Dependency(PackageId id)
id
- package id.public String getGroupId()
getGroup()
instead.public String getGroup()
public String getName()
public VersionRange getRange()
public String getPath()
public boolean matches(PackageId id)
id
- the package idtrue
if matchespublic static Dependency fromString(String str)
null
is returned.str
- the stringpublic static Dependency[] parse(String str)
toString(Dependency...)
)}str
- serialized stringpublic static Dependency[] fromString(String... str)
str
- the stringspublic static String toString(Dependency... deps)
deps
- the dependenciespublic static Dependency toJrVltDependency(Dependency dep)
public static Dependency[] toJrVltDependencies(Dependency[] deps)
public static Dependency[] create(Dependency[] deps)
public static Dependency create(Dependency dep)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"