| Constructor and Description |
|---|
CarbonArtifact() |
| Modifier and Type | Method and Description |
|---|---|
<T extends CarbonArtifact> |
copyTo(T item)
Util method which will copy some of the properties of this parent class into it's sub classes.
|
org.apache.maven.artifact.Artifact |
getArtifact()
Returns the actual maven artifact represented by this carbon artifact
|
String |
getArtifactId()
Returns the maven artifact id for the carbon artifact.
|
String |
getBundleVersion()
Returns the OSGI bundle version of the actual artifact represented by this carbon artifact.
|
String |
getCompatibility()
Returns the compatibility type of this CarbonArtifact.
|
String |
getGroupId()
Returns the maven group id for the carbon artifact.
|
String |
getSymbolicName()
Returns the OSGI symbolic name which is in the manifest file of the artifact represented by this
carbon artifact.
|
String |
getType()
Returns the file type of the actual artifact represented by this carbon artifact.
|
String |
getVersion()
Returns the maven version for this artifact.
|
void |
setArtifact(org.apache.maven.artifact.Artifact artifact)
Sets the actual maven artifact represented by this carbon artifact
|
void |
setArtifactId(String artifactId)
Sets the maven artifact id for the carbon artifact.
|
void |
setBundleVersion(String bundleVersion)
Sets the OSGI bundle version of the actual artifact represented by this carbon artifact.
|
void |
setCompatibility(String compatibility) |
void |
setGroupId(String groupId)
Sets the maven group id for the carbon artifact.
|
void |
setSymbolicName(String symbolicName)
Sets the OSGI symbolic name which is in the manifest file of the artifact represented by this
carbon artifact.
|
void |
setType(String type)
Sets the file type(extension) of the actual artifact represented by this carbon artifact.
|
void |
setVersion(String version)
Sets the maven version for this artifact.
|
public String getGroupId()
public void setGroupId(String groupId)
groupId - Stringpublic String getArtifactId()
public void setArtifactId(String artifactId)
artifactId - Stringpublic String getVersion()
Important: This is not the OSGI version
public void setVersion(String version)
Important: This is not the OSGI version
version - Stringpublic org.apache.maven.artifact.Artifact getArtifact()
public void setArtifact(org.apache.maven.artifact.Artifact artifact)
artifact - org.apache.maven.artifact objectpublic String getSymbolicName()
public void setSymbolicName(String symbolicName)
symbolicName - Stringpublic String getType()
public void setType(String type)
type - Stringpublic String getBundleVersion()
public void setBundleVersion(String bundleVersion)
bundleVersion - Stringpublic String getCompatibility()
public void setCompatibility(String compatibility)
public <T extends CarbonArtifact> void copyTo(T item)
T - SubClass of CarbonArtifactitem - target Subclass of CarbonArtifact object which needs to copy fields of this object.Copyright © 2015 WSO2. All rights reserved.