Package org.kie.api.management
Class GAV
- java.lang.Object
-
- org.kie.api.management.GAV
-
- All Implemented Interfaces:
Comparable<ReleaseId>
,ReleaseId
public class GAV extends Object implements ReleaseId
A simple immutable pojo representing Maven GAV coordinates, with a JMX-compliant method in order to be exposed and used via JMX/Monitoring.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GAV
from(CompositeData cd)
static GAV
from(ReleaseId rel)
String
getArtifactId()
String
getGroupId()
String
getVersion()
boolean
isSnapshot()
boolean
sameGAVof(ReleaseId other)
String
toExternalForm()
String
toString()
-
-
-
Method Detail
-
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interfaceReleaseId
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId
in interfaceReleaseId
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceReleaseId
-
toExternalForm
public String toExternalForm()
- Specified by:
toExternalForm
in interfaceReleaseId
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshot
in interfaceReleaseId
-
from
public static GAV from(CompositeData cd)
-
sameGAVof
public boolean sameGAVof(ReleaseId other)
-
-