Class Exclusion

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, InputLocationTracker

    public class Exclusion
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
    The <exclusion> element contains informations required to exclude an artifact to the project.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Detail

      • groupId

        private java.lang.String groupId
        The group ID of the project to exclude.
      • artifactId

        private java.lang.String artifactId
        The artifact ID of the project to exclude.
      • locations

        private java.util.Map<java.lang.Object,​InputLocation> locations
        Field locations.
      • groupIdLocation

        private InputLocation groupIdLocation
        Field groupIdLocation.
      • artifactIdLocation

        private InputLocation artifactIdLocation
        Field artifactIdLocation.
    • Constructor Detail

      • Exclusion

        public Exclusion()
    • Method Detail

      • clone

        public Exclusion clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        Exclusion
      • getArtifactId

        public java.lang.String getArtifactId()
        Get the artifact ID of the project to exclude.
        Returns:
        String
      • getGroupId

        public java.lang.String getGroupId()
        Get the group ID of the project to exclude.
        Returns:
        String
      • setOtherLocation

        public void setOtherLocation​(java.lang.Object key,
                                     InputLocation location)
        Parameters:
        key - a key object.
        location - a location object.
      • getOtherLocation

        private InputLocation getOtherLocation​(java.lang.Object key)
        Parameters:
        key - a key object.
        Returns:
        InputLocation
      • setArtifactId

        public void setArtifactId​(java.lang.String artifactId)
        Set the artifact ID of the project to exclude.
        Parameters:
        artifactId - a artifactId object.
      • setGroupId

        public void setGroupId​(java.lang.String groupId)
        Set the group ID of the project to exclude.
        Parameters:
        groupId - a groupId object.