|
Forge - Parent 1.2.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.forge.project.dependencies.ExcludedDependencyBuilder
public class ExcludedDependencyBuilder
Constructor Summary | |
---|---|
protected |
ExcludedDependencyBuilder(DependencyBuilder parent)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ExcludedDependencyBuilder(DependencyBuilder parent)
Method Detail |
---|
public static ExcludedDependencyBuilder create(DependencyBuilder parent)
public ExcludedDependencyBuilder setGroupId(String groupId)
public ExcludedDependencyBuilder setArtifactId(String artifactId)
public String getArtifactId()
Dependency
Dependency
.
getArtifactId
in interface Dependency
public String getGroupId()
Dependency
Dependency
.
getGroupId
in interface Dependency
public String getVersion()
""
.
getVersion
in interface Dependency
public String getScopeType()
null
.
getScopeType
in interface Dependency
public PackagingType getPackagingTypeEnum()
Dependency
PackagingType
of this Dependency
, if the type is not one of the default supported types,
PackagingType.OTHER
will be returned;
getPackagingTypeEnum
in interface Dependency
public ScopeType getScopeTypeEnum()
Dependency
ScopeType
of this Dependency
, if the type is not one of the default supported types,
ScopeType.OTHER
will be returned;
getScopeTypeEnum
in interface Dependency
public String getSystemPath()
Dependency
Dependency
getSystemPath
in interface Dependency
public List<Dependency> getExcludedDependencies()
Dependency
Dependency
objects to be excluded from this Dependency
's list of inclusions when it
is included in a project.
getExcludedDependencies
in interface Dependency
public ExcludedDependencyBuilder addExclusion()
public DependencyBuilder setVersion(String version)
public DependencyBuilder setScope(ScopeType scope)
public String getPackagingType()
Dependency
Dependency
getPackagingType
in interface Dependency
public String getClassifier()
Dependency
Dependency
getClassifier
in interface Dependency
public boolean isSnapshot()
Dependency
isSnapshot
in interface Dependency
public String toCoordinates()
Dependency
toCoordinates
in interface Dependency
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
Forge - Parent 1.2.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |