@MappedSuperclass public abstract class AbstractExec extends AbstractGeneratedKeyEntity implements Exec
Modifier and Type | Field and Description |
---|---|
protected Date |
end
End instant of this execution.
|
protected String |
message
Any information to be accompanied to this execution's result.
|
protected @NotNull Date |
start
Start instant of this execution.
|
protected @NotNull String |
status |
LOG
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Constructor and Description |
---|
AbstractExec() |
Modifier and Type | Method and Description |
---|---|
Date |
getEnd() |
String |
getMessage() |
Date |
getStart() |
String |
getStatus() |
void |
setEnd(Date end) |
void |
setMessage(String message)
Set a message for this execution, taking care of replacing every null character with newline.
|
void |
setStart(Date start) |
void |
setStatus(String status) |
getKey, setKey
checkImplementationType, checkType, equals, hashCode, toString
@NotNull protected @NotNull String status
protected String message
@NotNull protected @NotNull Date start
protected Date end
public String getMessage()
getMessage
in interface Exec
public void setMessage(String message)
Exec
setMessage
in interface Exec
message
- the message to set for this executionCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.