public class AddonDependencyEntry extends Object
Addon dependency as specified in its originating AddonRepository.| Constructor and Description |
|---|
AddonDependencyEntry() |
| Modifier and Type | Method and Description |
|---|---|
static AddonDependencyEntry |
create(String name)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
boolean exported)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
boolean exported,
boolean optional)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
String versionRange)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
String versionRange,
boolean exported)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
String versionRange,
boolean exported,
boolean optional)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
VersionRange range)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
VersionRange range,
boolean exported)
Create a new
AddonDependencyEntry with the given attributes. |
static AddonDependencyEntry |
create(String name,
VersionRange range,
boolean exported,
boolean optional)
Create a new
AddonDependencyEntry with the given attributes. |
boolean |
equals(Object obj) |
String |
getName()
Get the dependency name.
|
VersionRange |
getVersionRange()
Get the dependency
VersionRange. |
int |
hashCode() |
boolean |
isExported()
Return
true if this dependency is exported. |
boolean |
isOptional()
Return
true if this dependency is optional. |
String |
toString() |
public boolean isOptional()
true if this dependency is optional.public boolean isExported()
true if this dependency is exported.public String getName()
public VersionRange getVersionRange()
VersionRange.public static AddonDependencyEntry create(String name)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, boolean exported)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, boolean exported, boolean optional)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, String versionRange)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, VersionRange range)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, String versionRange, boolean exported)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, VersionRange range, boolean exported)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, String versionRange, boolean exported, boolean optional)
AddonDependencyEntry with the given attributes.public static AddonDependencyEntry create(String name, VersionRange range, boolean exported, boolean optional)
AddonDependencyEntry with the given attributes.Copyright © 2014 JBoss by Red Hat. All rights reserved.