|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.services.artifact.Artifact
public class Artifact
Description of some packaged artifact such as a JAR file or a Composite.
Constructor Summary | |
---|---|
Artifact()
|
Method Summary | |
---|---|
void |
addDependency(Artifact artifact)
Adds a transitive dependency to the artifact. |
String |
getClassifier()
Returns a way of classifying an artifact. |
String |
getGroup()
Returns the name of a logical grouping to which this artifact belongs. |
String |
getName()
Returns the name of an artifact. |
String |
getType()
Returns the type of artifact. |
URL |
getUrl()
Returns a URL from which the artifact can be obtained. |
Set<URL> |
getUrls()
Gets the URLs for all the transitive dependencies. |
String |
getVersion()
Returns the version of an artifact. |
void |
setClassifier(String classifier)
Sets a way of classifying an artifact |
void |
setGroup(String group)
Sets the name of a logical grouping to which this artifact belongs. |
void |
setName(String name)
Sets the name of an artifact. |
void |
setType(String type)
Sets the type of artifact. |
void |
setUrl(URL url)
Sets a URL from which the artifact can be obtained. |
void |
setVersion(String version)
Sets the version of an artifact. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Artifact()
Method Detail |
---|
public void addDependency(Artifact artifact)
artifact
- Dependency to be added.public Set<URL> getUrls()
public String getGroup()
public void setGroup(String group)
group
- the name of a logical grouping to which this artifact belongspublic String getName()
public void setName(String name)
name
- the name of an artifactpublic String getVersion()
public void setVersion(String version)
version
- the version of an artifactpublic String getClassifier()
public void setClassifier(String classifier)
classifier
- a way of classifying an artifactpublic String getType()
public void setType(String type)
type
- the type of artifactpublic URL getUrl()
public void setUrl(URL url)
url
- a URL from which the artifact can be obtainedpublic String toString()
toString
in class Object
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |