Class GroupVersionAlignment

  • All Implemented Interfaces:
    java.io.Serializable

    public class GroupVersionAlignment
    extends java.lang.Object
    implements java.io.Serializable
    Allows a group of artifacts to be aligned to a specified version.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> excludes
      Field excludes.
      private java.lang.String id
      The groupId of the artifacts for which you want to align the versions.
      private java.lang.String version
      The version you want to align this group to.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addExclude​(java.lang.String string)
      Method addExclude.
      java.util.List<java.lang.String> getExcludes()
      Method getExcludes.
      java.lang.String getId()
      Get the groupId of the artifacts for which you want to align the versions.
      java.lang.String getVersion()
      Get the version you want to align this group to.
      void removeExclude​(java.lang.String string)
      Method removeExclude.
      void setExcludes​(java.util.List<java.lang.String> excludes)
      Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude.
      void setId​(java.lang.String id)
      Set the groupId of the artifacts for which you want to align the versions.
      void setVersion​(java.lang.String version)
      Set the version you want to align this group to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        private java.lang.String id
        The groupId of the artifacts for which you want to align the versions.
      • version

        private java.lang.String version
        The version you want to align this group to.
      • excludes

        private java.util.List<java.lang.String> excludes
        Field excludes.
    • Constructor Detail

      • GroupVersionAlignment

        public GroupVersionAlignment()
    • Method Detail

      • addExclude

        public void addExclude​(java.lang.String string)
        Method addExclude.
        Parameters:
        string -
      • getExcludes

        public java.util.List<java.lang.String> getExcludes()
        Method getExcludes.
        Returns:
        List
      • getId

        public java.lang.String getId()
        Get the groupId of the artifacts for which you want to align the versions.
        Returns:
        String
      • getVersion

        public java.lang.String getVersion()
        Get the version you want to align this group to.
        Returns:
        String
      • removeExclude

        public void removeExclude​(java.lang.String string)
        Method removeExclude.
        Parameters:
        string -
      • setExcludes

        public void setExcludes​(java.util.List<java.lang.String> excludes)
        Set when <exclude> subelements are present, they define the artifactIds of the artifacts to exclude. If none is present, then <excludes> represents no exclusions. An exclude is specified by providing one or more of <exclude> subelements.
        Parameters:
        excludes -
      • setId

        public void setId​(java.lang.String id)
        Set the groupId of the artifacts for which you want to align the versions.
        Parameters:
        id -
      • setVersion

        public void setVersion​(java.lang.String version)
        Set the version you want to align this group to.
        Parameters:
        version -