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 GAVfrom(CompositeData cd)static GAVfrom(ReleaseId rel)StringgetArtifactId()StringgetGroupId()StringgetVersion()booleanisSnapshot()booleansameGAVof(ReleaseId other)StringtoExternalForm()StringtoString()
-
-
-
Method Detail
-
getGroupId
public String getGroupId()
- Specified by:
getGroupIdin interfaceReleaseId
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactIdin interfaceReleaseId
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceReleaseId
-
toExternalForm
public String toExternalForm()
- Specified by:
toExternalFormin interfaceReleaseId
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshotin interfaceReleaseId
-
from
public static GAV from(CompositeData cd)
-
sameGAVof
public boolean sameGAVof(ReleaseId other)
-
-