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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimeendEnd instant of this execution.protected @NotNull Stringexecutorprotected StringmessageAny information to be accompanied to this execution's result.protected @NotNull OffsetDateTimestartStart instant of this execution.protected @NotNull Stringstatus-
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
Constructors Constructor Description AbstractExec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimegetEnd()StringgetExecutor()StringgetMessage()OffsetDateTimegetStart()StringgetStatus()voidsetEnd(OffsetDateTime end)voidsetExecutor(String executor)voidsetMessage(String message)Set a message for this execution, taking care of replacing every null character with newline.voidsetStart(OffsetDateTime start)voidsetStatus(String status)-
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 Detail
-
status
@NotNull protected @NotNull String status
-
executor
@NotNull protected @NotNull String executor
-
message
protected String message
Any information to be accompanied to this execution's result.
-
start
@NotNull protected @NotNull OffsetDateTime start
Start instant of this execution.
-
end
protected OffsetDateTime end
End instant of this execution.
-
-
Method Detail
-
getExecutor
public String getExecutor()
- Specified by:
getExecutorin interfaceExec
-
setExecutor
public void setExecutor(String executor)
- Specified by:
setExecutorin interfaceExec
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfaceExec
-
setMessage
public void setMessage(String message)
Description copied from interface:ExecSet a message for this execution, taking care of replacing every null character with newline.- Specified by:
setMessagein interfaceExec- Parameters:
message- the message to set for this execution
-
getStart
public OffsetDateTime getStart()
-
setStart
public void setStart(OffsetDateTime start)
-
getEnd
public OffsetDateTime getEnd()
-
setEnd
public void setEnd(OffsetDateTime end)
-
-