Class GroupVersionAlignment

  • All Implemented Interfaces:
    Serializable

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

      • GroupVersionAlignment

        public GroupVersionAlignment()
    • Method Detail

      • addExclude

        public void addExclude​(String string)
        Method addExclude.
        Parameters:
        string - a string object.
      • getExcludes

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

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

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

        public void removeExclude​(String string)
        Method removeExclude.
        Parameters:
        string - a string object.
      • setExcludes

        public void setExcludes​(List<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 - a excludes object.
      • setId

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

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