Class RefLeaseSpec

    • Constructor Detail

      • RefLeaseSpec

        public RefLeaseSpec​(String ref,
                            String expected)

        Constructor for RefLeaseSpec.

        Parameters:
        ref - ref being pushed
        expected - the expected value of the ref
    • Method Detail

      • getRef

        public String getRef()
        Get the ref to protect.
        Returns:
        name of ref to check.
      • getExpected

        public String getExpected()
        Get the expected value of the ref, in the form of a local committish
        Returns:
        expected ref value.