public class ExcludedDependencyBuilder extends Object implements Dependency
| Modifier | Constructor and Description |
|---|---|
protected |
ExcludedDependencyBuilder(DependencyBuilder parent) |
| Modifier and Type | Method and Description |
|---|---|
ExcludedDependencyBuilder |
addExclusion() |
static ExcludedDependencyBuilder |
create(DependencyBuilder parent) |
boolean |
equals(Object obj) |
String |
getArtifactId()
Get the minor-identifier for this
Dependency. |
String |
getClassifier()
Get the classifier for this
Dependency |
List<Dependency> |
getExcludedDependencies()
Get a list of
Dependency objects to be excluded from this Dependency's list of inclusions when it
is included in a project. |
String |
getGroupId()
Get the major identifier for this
Dependency. |
String |
getPackagingType()
Get the specified packaging type of this
Dependency |
PackagingType |
getPackagingTypeEnum()
Get the
PackagingType of this Dependency, if the type is not one of the default supported types,
PackagingType.OTHER will be returned; |
String |
getScopeType()
Not implemented for Exclusions.
|
ScopeType |
getScopeTypeEnum()
Get the
ScopeType of this Dependency, if the type is not one of the default supported types,
ScopeType.OTHER will be returned; |
String |
getSystemPath()
Get the systemPath of this
Dependency |
String |
getVersion()
Not implemented for Exclusions.
|
int |
hashCode() |
boolean |
isSnapshot()
Returns true if this dependency version is a SNAPSHOT
|
ExcludedDependencyBuilder |
setArtifactId(String artifactId) |
ExcludedDependencyBuilder |
setGroupId(String groupId) |
DependencyBuilder |
setScope(ScopeType scope) |
DependencyBuilder |
setVersion(String version) |
String |
toCoordinates()
Return a string represenging this dependency in the form of a standard identifier.
|
String |
toString() |
protected ExcludedDependencyBuilder(DependencyBuilder parent)
public static ExcludedDependencyBuilder create(DependencyBuilder parent)
public ExcludedDependencyBuilder setGroupId(String groupId)
public ExcludedDependencyBuilder setArtifactId(String artifactId)
public String getArtifactId()
DependencyDependency.getArtifactId in interface Dependencypublic String getGroupId()
DependencyDependency.getGroupId in interface Dependencypublic String getVersion()
"".getVersion in interface Dependencypublic String getScopeType()
null.getScopeType in interface Dependencypublic PackagingType getPackagingTypeEnum()
DependencyPackagingType of this Dependency, if the type is not one of the default supported types,
PackagingType.OTHER will be returned;getPackagingTypeEnum in interface Dependencypublic ScopeType getScopeTypeEnum()
DependencyScopeType of this Dependency, if the type is not one of the default supported types,
ScopeType.OTHER will be returned;getScopeTypeEnum in interface Dependencypublic String getSystemPath()
DependencyDependencygetSystemPath in interface Dependencypublic List<Dependency> getExcludedDependencies()
DependencyDependency objects to be excluded from this Dependency's list of inclusions when it
is included in a project.getExcludedDependencies in interface Dependencypublic ExcludedDependencyBuilder addExclusion()
public DependencyBuilder setVersion(String version)
public DependencyBuilder setScope(ScopeType scope)
public String getPackagingType()
DependencyDependencygetPackagingType in interface Dependencypublic String getClassifier()
DependencyDependencygetClassifier in interface Dependencypublic boolean isSnapshot()
DependencyisSnapshot in interface Dependencypublic String toCoordinates()
DependencytoCoordinates in interface DependencyCopyright © 2013 JBoss by Red Hat. All Rights Reserved.