Class AbstractExec
java.lang.Object
org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
org.apache.syncope.core.persistence.jpa.entity.AbstractExec
- All Implemented Interfaces:
Serializable
,Entity
,Exec
- Direct Known Subclasses:
AbstractTaskExec
,JPAReportExec
@MappedSuperclass
public abstract class AbstractExec
extends AbstractGeneratedKeyEntity
implements Exec
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected OffsetDateTime
End instant of this execution.protected String
Any information to be accompanied to this execution's result.protected @NotNull OffsetDateTime
Start instant of this execution.Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEnd()
getStart()
void
setEnd
(OffsetDateTime end) void
setExecutor
(String executor) void
setMessage
(String message) Set a message for this execution, taking care of replacing every null character with newline.void
setStart
(OffsetDateTime start) void
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
Field Details
-
status
-
executor
-
message
Any information to be accompanied to this execution's result. -
start
Start instant of this execution. -
end
End instant of this execution.
-
-
Constructor Details
-
AbstractExec
public AbstractExec()
-
-
Method Details
-
getStatus
-
setStatus
-
getExecutor
- Specified by:
getExecutor
in interfaceExec
-
setExecutor
- Specified by:
setExecutor
in interfaceExec
-
getMessage
- Specified by:
getMessage
in interfaceExec
-
setMessage
Description copied from interface:Exec
Set a message for this execution, taking care of replacing every null character with newline.- Specified by:
setMessage
in interfaceExec
- Parameters:
message
- the message to set for this execution
-
getStart
-
setStart
-
getEnd
-
setEnd
-