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 OffsetDateTime
end
End instant of this execution.protected @NotNull String
executor
protected String
message
Any information to be accompanied to this execution's result.protected @NotNull OffsetDateTime
start
Start instant of this execution.protected @NotNull String
status
-
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 OffsetDateTime
getEnd()
String
getExecutor()
String
getMessage()
OffsetDateTime
getStart()
String
getStatus()
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
setStatus(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:
getExecutor
in interfaceExec
-
setExecutor
public void setExecutor(String executor)
- Specified by:
setExecutor
in interfaceExec
-
getMessage
public String getMessage()
- Specified by:
getMessage
in interfaceExec
-
setMessage
public void setMessage(String message)
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
public OffsetDateTime getStart()
-
setStart
public void setStart(OffsetDateTime start)
-
getEnd
public OffsetDateTime getEnd()
-
setEnd
public void setEnd(OffsetDateTime end)
-
-