Interface RefChange
- All Superinterfaces:
MinimalRefChange
- All Known Subinterfaces:
DetailedRefChange
- All Known Implementing Classes:
SimpleDetailedRefChange
,SimpleRefChange
Represents a ref change, used mainly by
RepositoryRefsChangedEvent
.-
Field Details
-
MAX_HASH_LENGTH
static final int MAX_HASH_LENGTHThe maximum length of a ref change's to and from hash- Since:
- 4.11
- See Also:
-
-
Method Details
-
getRef
- Specified by:
getRef
in interfaceMinimalRefChange
- Returns:
- the ref that has been updated
-
getFromHash
- Returns:
- the previous hash
-
getToHash
- Returns:
- the new hash
-
getType
- Specified by:
getType
in interfaceMinimalRefChange
- Returns:
- the type of ref change
-