Class SCMRevision

    • Constructor Detail

      • SCMRevision

        protected SCMRevision​(@NonNull
                              SCMHead head)
        Constructor.
        Parameters:
        head - the SCMHead that the SCMRevision belongs to.
    • Method Detail

      • equals

        public abstract boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public abstract int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Should provide a concise, human-readable summary of this revision in an implementation-dependent format.

        Overrides:
        toString in class Object
      • isDeterministic

        @Exported
        public boolean isDeterministic()
        Returns true if and only if this revision is deterministic, in other words that repeated checkouts of this revision will result in the exact same files being checked out. Most modern SCM systems have a deterministic revision, however some of the older ones do not have a deterministic revision for all types of head.
        Returns:
        true if and only if this revision is deterministic.