public interface RevisionMetadata<N extends Number & Comparable<N>>
Modifier and Type | Method and Description |
---|---|
<T> T |
getDelegate()
Returns the underlying revision metadata which might provider more detailed implementation specific information.
|
default LocalDateTime |
getRequiredRevisionDate()
Returns the revision date of the revision, immediately failing on absence.
|
default N |
getRequiredRevisionNumber()
Returns the revision number of the revision, immediately failing on absence.
|
Optional<LocalDateTime> |
getRevisionDate()
Returns the date of the revision.
|
Optional<N> |
getRevisionNumber()
Returns the revision number of the revision.
|
Optional<N> getRevisionNumber()
default N getRequiredRevisionNumber()
IllegalStateException
- if no revision number is available.Optional<LocalDateTime> getRevisionDate()
default LocalDateTime getRequiredRevisionDate()
<T> T getDelegate()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.