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