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 StringTABLE-
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()StringgetCronExpression()StringgetDescription()ImplementationgetJobDelegate()StringgetName()OffsetDateTimegetStartAt()booleanisActive()voidsetActive(boolean active)voidsetCronExpression(String cronExpression)voidsetDescription(String description)voidsetJobDelegate(Implementation jobDelegate)voidsetName(String name)voidsetStartAt(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:
getJobDelegatein interfaceSchedTask
-
setJobDelegate
public void setJobDelegate(Implementation jobDelegate)
- Specified by:
setJobDelegatein interfaceSchedTask
-
getStartAt
public OffsetDateTime getStartAt()
- Specified by:
getStartAtin interfaceSchedTask
-
setStartAt
public void setStartAt(OffsetDateTime startAt)
- Specified by:
setStartAtin interfaceSchedTask
-
getCronExpression
public String getCronExpression()
- Specified by:
getCronExpressionin interfaceSchedTask
-
setCronExpression
public void setCronExpression(String cronExpression)
- Specified by:
setCronExpressionin interfaceSchedTask
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceSchedTask
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceSchedTask
-
executionClass
protected Class<? extends TaskExec<SchedTask>> executionClass()
- Specified by:
executionClassin classAbstractTask<SchedTask>
-
executions
protected List<TaskExec<SchedTask>> executions()
- Specified by:
executionsin classAbstractTask<SchedTask>
-
-