public class ArtifactLabel extends Object implements Comparable<ArtifactLabel>
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
label |
protected String |
simpleId |
Constructor and Description |
---|
ArtifactLabel(String id,
String label,
String simpleId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ArtifactLabel other) |
static ArtifactLabel |
createLabelFromComponent(String component) |
static ArtifactLabel |
createLabelFromContribution(String contribution) |
static ArtifactLabel |
createLabelFromExtensionPoint(String extensionPoint) |
static ArtifactLabel |
createLabelFromService(String service) |
String |
getId() |
String |
getLabel() |
String |
getSimpleId() |
protected static String |
removePrefix(String name,
List<String> prefixes) |
String |
toString() |
public ArtifactLabel(String id, String label, String simpleId)
public String getSimpleId()
public int compareTo(ArtifactLabel other)
compareTo
in interface Comparable<ArtifactLabel>
public static ArtifactLabel createLabelFromService(String service)
protected static String removePrefix(String name, List<String> prefixes)
public static ArtifactLabel createLabelFromComponent(String component)
public static ArtifactLabel createLabelFromExtensionPoint(String extensionPoint)
public static ArtifactLabel createLabelFromContribution(String contribution)
Copyright © 2017 Nuxeo. All rights reserved.