public class ArtifactDefinition extends Object
Constructor and Description |
---|
ArtifactDefinition() |
ArtifactDefinition(Bundle bundle,
int startLevel) |
ArtifactDefinition(org.codehaus.plexus.util.xml.Xpp3Dom config) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
String |
getClassifier() |
ArtifactDefinition[] |
getContainedArtifacts() |
String |
getGroupId() |
String |
getRunModes() |
int |
getStartLevel() |
String |
getType() |
String |
getVersion() |
void |
initDefaults(String commaDelimitedList)
Initialize this ArtifactDefinition with a set of default values from a
comma-delimited string.
|
void |
initDefaults(String valueList,
char delimiter)
Initialize this ArtifactDefinition with a set of default values from a
delimited string.
|
void |
initDefaults(String groupId,
String artifactId,
String version,
String type,
String classifier,
int startLevel)
Initialize this ArtifactDefinition with a set of default values.
|
void |
setArtifactId(String artifactId) |
void |
setClassifier(String classifier) |
void |
setGroupId(String groupId) |
void |
setStartLevel(int startLevel) |
void |
setType(String type) |
void |
setVersion(String version) |
List<Bundle> |
toBundleList() |
static List<org.apache.maven.model.Dependency> |
toDependencyList(Bundle bundle,
String scope) |
List<org.apache.maven.model.Dependency> |
toDependencyList(String scope) |
String |
toString() |
public ArtifactDefinition()
public ArtifactDefinition(Bundle bundle, int startLevel)
public ArtifactDefinition(org.codehaus.plexus.util.xml.Xpp3Dom config)
public String getArtifactId()
public String getClassifier()
public String getGroupId()
public int getStartLevel()
public String getType()
public String getVersion()
public String getRunModes()
public void setArtifactId(String artifactId)
public void setClassifier(String classifier)
public void setGroupId(String groupId)
public void setStartLevel(int startLevel)
public void setType(String type)
public void setVersion(String version)
public ArtifactDefinition[] getContainedArtifacts()
public void initDefaults(String commaDelimitedList)
commaDelimitedList
- the comma-delimited listpublic void initDefaults(String valueList, char delimiter)
valueList
- the delimited listdelimiter
- the delimiterpublic void initDefaults(String groupId, String artifactId, String version, String type, String classifier, int startLevel)
groupId
- the groupIdartifactId
- the artifactIdversion
- the versiontype
- the artifact typeclassifier
- the artifact classifiedstartLevel
- the start levelCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.