public class TransactionApplicationEvent extends ApplicationEvent
TransactionApplicationEvent is an implementation of ApplicationEvent which is fired during
a transaction.Instant,
LocalDateTime,
ApplicationEvent,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected static String |
TIMESTAMP_PATTERN |
source| Constructor and Description |
|---|
TransactionApplicationEvent(Object source) |
TransactionApplicationEvent(Object source,
String details) |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getDetails() |
LocalDateTime |
getTimestampAsLocalDateTime() |
String |
getTimestampAsString() |
String |
getTimestampAsString(String pattern) |
String |
toString() |
getTimestampgetSourceprotected static final String TIMESTAMP_PATTERN
public TransactionApplicationEvent(Object source)
public LocalDateTime getTimestampAsLocalDateTime()
public String getTimestampAsString()
public String toString()
toString in class EventObjectCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.