Class MavenArtifactExclusion

    • Constructor Detail

      • MavenArtifactExclusion

        public MavenArtifactExclusion()
        Initializes the string with length 0.
      • MavenArtifactExclusion

        public MavenArtifactExclusion​(String s)
        Initializes the object with the string to parse.
        Parameters:
        s - the string to parse
      • MavenArtifactExclusion

        public MavenArtifactExclusion​(String groupId,
                                      String artifactId)
        Initializes the object with the artifact coordinates.
        Parameters:
        groupId - the group ID
        artifactId - the artifact ID
    • Method Detail

      • isValid

        public boolean isValid​(String value)
        Checks whether the string value is a valid presentation for this class.
        Overrides:
        isValid in class AbstractBaseString
        Parameters:
        value - the string value to check
        Returns:
        true if non-null
      • getPart

        protected String getPart​(int index)
        Returns the specified part of the coordinate triplet.
        Parameters:
        index - the index from the triplet to return
        Returns:
        the value or empty string if invalid string or index
      • groupIdValue

        public String groupIdValue()
        Returns the group ID part, if possible.
        Returns:
        the group ID
      • artifactIdValue

        public String artifactIdValue()
        Returns the artifact ID part, if possible.
        Returns:
        the artifact ID
      • getTipText

        public String getTipText()
        Returns a tool tip for the GUI editor (ignored if null is returned).
        Specified by:
        getTipText in class AbstractBaseString
        Returns:
        the tool tip