| Modifier and Type | Field and Description |
|---|---|
| private final String | expected
Local commitish to get expected value from. |
| private final String | ref
Name of the ref whose value we want to check. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | RefLeaseSpec(String
ref being pushed ref, String the expected value of the ref expected)Constructor for RefLeaseSpec. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: expected ref value.Get the expected value of the ref, in the form of a local committish |
| public String | |
| public String |
| expected | back to summary |
|---|---|
| private final String expected Local commitish to get expected value from. | |
| ref | back to summary |
|---|---|
| private final String ref Name of the ref whose value we want to check. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| RefLeaseSpec | back to summary |
|---|---|
| public RefLeaseSpec(String ref, String expected) Constructor for RefLeaseSpec. | |
| getExpected | back to summary |
|---|---|
| public String getExpected() Get the expected value of the ref, in the form of a local committish
| |
| getRef | back to summary |
|---|---|
| public String getRef() Get the ref to protect.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |