Class MavenRepository

    • Constructor Detail

      • MavenRepository

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

        public MavenRepository​(String s)
        Initializes the object with the string to parse.
        Parameters:
        s - the string to parse
    • 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
      • idValue

        public String idValue()
        Returns the ID part, if possible.
        Returns:
        the ID
      • nameValue

        public String nameValue()
        Returns the name part, if possible.
        Returns:
        the name
      • urlValue

        public String urlValue()
        Returns the URL part, if possible.
        Returns:
        the URL
      • 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