public class FractionDescriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
WILDFLY_SWARM_GROUP_ID |
| Constructor and Description |
|---|
FractionDescriptor(String groupId,
String artifactId,
String version) |
FractionDescriptor(String groupId,
String artifactId,
String version,
String name,
String description,
String tags,
boolean internal,
FractionStability stability) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(FractionDescriptor dep) |
String |
artifactId()
Deprecated.
Replaced with
getArtifactId() |
String |
av() |
boolean |
equals(Object obj) |
static FractionDescriptor |
fromGav(FractionList fractionList,
String gav)
|
String |
gav() |
String |
gavOrAv() |
String |
getArtifactId() |
Set<FractionDescriptor> |
getDependencies() |
String |
getDescription() |
String |
getGroupId() |
String |
getName() |
FractionStability |
getStability() |
String |
getTags() |
String |
getVersion() |
String |
groupId()
Deprecated.
Replaced with
getGroupId() |
int |
hashCode() |
boolean |
isInternal() |
String |
toString() |
String |
version()
Deprecated.
Replaced with
getVersion() |
public static final String WILDFLY_SWARM_GROUP_ID
public FractionDescriptor(String groupId, String artifactId, String version, String name, String description, String tags, boolean internal, FractionStability stability)
public static FractionDescriptor fromGav(FractionList fractionList, String gav)
FractionDescriptor from the fractionList based on the gav string.
The gav string contains colon-delimited Maven artifact coordinates. Supported formats are:
artifactId: the groupId org.wildfly.swarm is presumedartifactId:version: the groupId org.wildfly.swarm is presumedgroupId:artifactId:versionIf the fractionList doesn't contain such fraction, an exception is thrown.
public void addDependency(FractionDescriptor dep)
@Deprecated public String groupId()
getGroupId()@Deprecated public String artifactId()
getArtifactId()@Deprecated public String version()
getVersion()public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getName()
public String getDescription()
public String getTags()
public boolean isInternal()
public FractionStability getStability()
public Set<FractionDescriptor> getDependencies()
public String av()
public String gav()
public String gavOrAv()
Copyright © 2017 JBoss by Red Hat. All rights reserved.