Class GAV

  • All Implemented Interfaces:
    java.lang.Comparable<ReleaseId>, ReleaseId

    public class GAV
    extends java.lang.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.
    • Constructor Detail

      • GAV

        public GAV​(java.lang.String groupId,
                   java.lang.String artifactId,
                   java.lang.String version)
    • Method Detail

      • getGroupId

        public java.lang.String getGroupId()
        Specified by:
        getGroupId in interface ReleaseId
      • getArtifactId

        public java.lang.String getArtifactId()
        Specified by:
        getArtifactId in interface ReleaseId
      • getVersion

        public java.lang.String getVersion()
        Specified by:
        getVersion in interface ReleaseId
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • from

        public static GAV from​(javax.management.openmbean.CompositeData cd)
      • sameGAVof

        public boolean sameGAVof​(ReleaseId other)