Class SCMHeadObserver.Collector

    • Constructor Detail

      • Collector

        public Collector()
    • Method Detail

      • observe

        public void observe​(@NonNull
                            SCMHead head,
                            @NonNull
                            SCMRevision revision)
        Observes a head and current revision.
        Specified by:
        observe in class SCMHeadObserver
        Parameters:
        head - the head.
        revision - the revision.
      • result

        @NonNull
        public Map<SCMHead,​SCMRevision> result()
        Returns the collected results.
        Returns:
        the collected results.