Package org.eclipse.jgit.transport
Class RefLeaseSpec
- 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 String
getExpected()
Get the expected value of the ref, in the form of a local committishString
getRef()
Get the ref to protect.String
toString()
-