ExecutionLogEntry
A persistent representation of an Execution (property edit or action invocation), within a wider org.apache.causeway.applib.services.iactn.Interaction interaction . Note that this class implements HasInteractionDto , providing access to org.apache.causeway.applib.services.iactn.Interaction , a serialized representation containing the Execution .
API
ExecutionLogEntry.java
interface ExecutionLogEntry {
public final static String LOGICAL_TYPE_NAME;
public static final String SCHEMA;
public static final String TABLE;
static final DateTimeFormatter DATETIME_FORMATTER;
static final ToString<ExecutionLogEntry> TOSTRING;
void init(Execution<? extends MemberExecutionDto, ?> execution)
String title()
ChangeType getType()
UUID getInteractionId()
void setInteractionId(UUID interactionId)
int getSequence()
void setSequence(int sequence)
ExecutionLogEntryType getExecutionType()
void setExecutionType(ExecutionLogEntryType executionType)
String getUsername()
void setUsername(String userName)
java.sql.Timestamp getTimestamp()
void setTimestamp(java.sql.Timestamp timestamp)
Bookmark getTarget()
void setTarget(Bookmark target)
String getLogicalMemberIdentifier()
void setLogicalMemberIdentifier(String logicalMemberIdentifier)
InteractionDto getInteractionDto()
void setInteractionDto(InteractionDto commandDto)
java.sql.Timestamp getStartedAt()
void setStartedAt(java.sql.Timestamp startedAt)
java.sql.Timestamp getCompletedAt()
void setCompletedAt(java.sql.Timestamp completedAt)
BigDecimal getDuration() (1)
int compareTo(ExecutionLogEntry other)
}
| 1 | getDuration()
The number of seconds (to 3 decimal places) that this execution lasted, derived from #getStartedAt() and #getCompletedAt() . |