public class VaultRevisionMetadata extends Object implements RevisionMetadata<Integer>
RevisionMetadata.RevisionType
Constructor and Description |
---|
VaultRevisionMetadata(Versioned.Metadata metadata) |
VaultRevisionMetadata(Versioned<?> versioned) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getDelegate() |
Optional<Instant> |
getRevisionInstant() |
Optional<Integer> |
getRevisionNumber() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredRevisionInstant, getRequiredRevisionNumber, getRevisionType
public VaultRevisionMetadata(Versioned<?> versioned)
public VaultRevisionMetadata(Versioned.Metadata metadata)
public Optional<Integer> getRevisionNumber()
getRevisionNumber
in interface RevisionMetadata<Integer>
public Optional<Instant> getRevisionInstant()
getRevisionInstant
in interface RevisionMetadata<Integer>
public <T> T getDelegate()
getDelegate
in interface RevisionMetadata<Integer>
Copyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.