Class RefResource

    • Method Detail

      • getRef

        public abstract String getRef()
        Returns the ref's name
      • getRevision

        public abstract Optional<String> getRevision()
        Returns the ref's revision.
        Returns:
        the ref's revision, Optional.empty() if the ref doesn't exist (yet)