Class JPASchedTask
- 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.task.AbstractTask<SchedTask>
-
- org.apache.syncope.core.persistence.jpa.entity.task.JPASchedTask
-
- All Implemented Interfaces:
Serializable
,Entity
,SchedTask
,Task<SchedTask>
- Direct Known Subclasses:
AbstractProvisioningTask
,JPAMacroTask
@Entity @SchedTaskCheck public class JPASchedTask extends AbstractTask<SchedTask> implements SchedTask
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
-
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 JPASchedTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<? extends TaskExec<SchedTask>>
executionClass()
protected List<TaskExec<SchedTask>>
executions()
String
getCronExpression()
String
getDescription()
Implementation
getJobDelegate()
String
getName()
OffsetDateTime
getStartAt()
boolean
isActive()
void
setActive(boolean active)
void
setCronExpression(String cronExpression)
void
setDescription(String description)
void
setJobDelegate(Implementation jobDelegate)
void
setName(String name)
void
setStartAt(OffsetDateTime startAt)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.task.AbstractTask
add, getExecs
-
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
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJobDelegate
public Implementation getJobDelegate()
- Specified by:
getJobDelegate
in interfaceSchedTask
-
setJobDelegate
public void setJobDelegate(Implementation jobDelegate)
- Specified by:
setJobDelegate
in interfaceSchedTask
-
getStartAt
public OffsetDateTime getStartAt()
- Specified by:
getStartAt
in interfaceSchedTask
-
setStartAt
public void setStartAt(OffsetDateTime startAt)
- Specified by:
setStartAt
in interfaceSchedTask
-
getCronExpression
public String getCronExpression()
- Specified by:
getCronExpression
in interfaceSchedTask
-
setCronExpression
public void setCronExpression(String cronExpression)
- Specified by:
setCronExpression
in interfaceSchedTask
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceSchedTask
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceSchedTask
-
executionClass
protected Class<? extends TaskExec<SchedTask>> executionClass()
- Specified by:
executionClass
in classAbstractTask<SchedTask>
-
executions
protected List<TaskExec<SchedTask>> executions()
- Specified by:
executions
in classAbstractTask<SchedTask>
-
-