- java.lang.Object
-
- org.eclipse.jgit.transport.RefLeaseSpec
-
- All Implemented Interfaces:
Serializable
public class RefLeaseSpec extends Object implements Serializable
Describes the expected value for a ref being pushed.- Since:
- 4.7
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RefLeaseSpec(String ref, String expected)Constructor for RefLeaseSpec.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExpected()Get the expected value of the ref, in the form of a local committishStringgetRef()Get the ref to protect.StringtoString()
-