Class ClientlibRef


  • public class ClientlibRef
    extends Object
    Models a reference of a client-library to another client library, a category of client libraries, or a specific file.

    Unfortunately we cannot define something like ClientlibLink.Kind here, since there is no way to distinguish between a clientlib and a file at this point.

    • Method Detail

      • isCategory

        public boolean isCategory()
      • isExternalUri

        public boolean isExternalUri()
      • getExternalUri

        public boolean getExternalUri()
      • isSatisfiedby

        public boolean isSatisfiedby​(ClientlibLink link)
        Checks whether the link matches this, up to version patterns.
      • isSatisfiedby

        public boolean isSatisfiedby​(Collection<ClientlibLink> links)
        Checks whether one of the links matches this, up to version patterns.
      • ruleToPattern

        protected Pattern ruleToPattern​(String rule)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object