|
Forge - Parent 1.0.5-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.forge.project.dependencies.DependencyImpl
public class DependencyImpl
This class is internal; instead use DependencyBuilder
for Dependency
creation & instantiation.
Method Summary | |
---|---|
boolean |
equals(Object o)
|
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()
Get the scope type of this Dependency |
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 |
getVersion()
Get the version of this Dependency . |
int |
hashCode()
|
void |
setArtifactId(String artifactId)
|
void |
setClassifier(String classifier)
|
void |
setExcludedDependencies(List<Dependency> excludedDependencies)
|
void |
setGroupId(String groupId)
|
void |
setPackagingType(PackagingType packagingType)
|
void |
setPackagingType(String type)
|
void |
setScopeType(ScopeType scope)
|
void |
setScopeType(String type)
|
void |
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 |
Method Detail |
---|
public String getArtifactId()
Dependency
Dependency
.
getArtifactId
in interface Dependency
public String getGroupId()
Dependency
Dependency
.
getGroupId
in interface Dependency
public String getVersion()
Dependency
Dependency
.
getVersion
in interface Dependency
public String getScopeType()
Dependency
Dependency
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 void setScopeType(ScopeType scope)
public void setScopeType(String type)
public void setVersion(String version)
public void setGroupId(String groupId)
public void setArtifactId(String artifactId)
public String getClassifier()
Dependency
Dependency
getClassifier
in interface Dependency
public void setClassifier(String classifier)
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 void setExcludedDependencies(List<Dependency> excludedDependencies)
public String getPackagingType()
Dependency
Dependency
getPackagingType
in interface Dependency
public void setPackagingType(PackagingType packagingType)
public void setPackagingType(String type)
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 o)
equals
in class Object
|
Forge - Parent 1.0.5-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |