Package org.kie.api.management
Class GAV
- java.lang.Object
-
- org.kie.api.management.GAV
-
- All Implemented Interfaces:
Comparable<ReleaseId>
,org.appformer.maven.support.AFReleaseId
,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 interfaceorg.appformer.maven.support.AFReleaseId
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId
in interfaceorg.appformer.maven.support.AFReleaseId
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceorg.appformer.maven.support.AFReleaseId
-
toExternalForm
public String toExternalForm()
- Specified by:
toExternalForm
in interfaceorg.appformer.maven.support.AFReleaseId
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshot
in interfaceorg.appformer.maven.support.AFReleaseId
-
from
public static GAV from(CompositeData cd)
-
sameGAVof
public boolean sameGAVof(ReleaseId other)
-
-