Package org.projectnessie.model
Interface RefLogResponse.RefLogResponseEntry
-
- All Known Implementing Classes:
ImmutableRefLogResponseEntry
- Enclosing interface:
- RefLogResponse
@Immutable public static interface RefLogResponse.RefLogResponseEntry
-
-
Field Summary
Fields Modifier and Type Field Description static StringASSIGN_REFERENCEstatic StringBRANCHstatic StringCOMMITstatic StringCREATE_REFERENCEstatic StringDELETE_REFERENCEstatic StringMERGEstatic StringTAGstatic StringTRANSPLANT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ImmutableRefLogResponseEntry.Builderbuilder()@NotNull StringgetCommitHash()Output commit hash of the operation.@NotNull StringgetOperation()Operation String mapped to ENUM inRefLogEntry.Operationof 'persist.proto' file.@javax.validation.constraints.NotNull longgetOperationTime()Time in microseconds since epoch.@NotNull StringgetParentRefLogId()Parent reflog id of the current entry.@NotNull StringgetRefLogId()Reflog id of the current entry.@NotNull StringgetRefName()Reference on which current operation is executed.@NotNull StringgetRefType()Reference type can be 'Branch' or 'Tag'.@NotNull List<String>getSourceHashes()Single hash in case of MERGE or ASSIGN.
-
-
-
Field Detail
-
BRANCH
static final String BRANCH
- See Also:
- Constant Field Values
-
TAG
static final String TAG
- See Also:
- Constant Field Values
-
CREATE_REFERENCE
static final String CREATE_REFERENCE
- See Also:
- Constant Field Values
-
COMMIT
static final String COMMIT
- See Also:
- Constant Field Values
-
DELETE_REFERENCE
static final String DELETE_REFERENCE
- See Also:
- Constant Field Values
-
ASSIGN_REFERENCE
static final String ASSIGN_REFERENCE
- See Also:
- Constant Field Values
-
MERGE
static final String MERGE
- See Also:
- Constant Field Values
-
TRANSPLANT
static final String TRANSPLANT
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
static ImmutableRefLogResponseEntry.Builder builder()
-
getRefLogId
@NotNull @NotNull String getRefLogId()
Reflog id of the current entry.
-
getRefName
@NotNull @NotNull String getRefName()
Reference on which current operation is executed.
-
getRefType
@NotNull @NotNull String getRefType()
Reference type can be 'Branch' or 'Tag'.
-
getCommitHash
@NotNull @NotNull String getCommitHash()
Output commit hash of the operation.
-
getParentRefLogId
@NotNull @NotNull String getParentRefLogId()
Parent reflog id of the current entry.
-
getOperationTime
@NotNull @javax.validation.constraints.NotNull long getOperationTime()
Time in microseconds since epoch.
-
getOperation
@NotNull @NotNull String getOperation()
Operation String mapped to ENUM inRefLogEntry.Operationof 'persist.proto' file.
-
-