Class JPAMacroTask
- 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
-
- org.apache.syncope.core.persistence.jpa.entity.task.JPAMacroTask
-
@Entity public class JPAMacroTask extends JPASchedTask implements MacroTask
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
protected static TypeReference<List<CommandArgs>>
TYPEREF
-
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 JPAMacroTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Implementation command, CommandArgs args)
protected Class<? extends TaskExec<SchedTask>>
executionClass()
protected List<TaskExec<SchedTask>>
executions()
List<CommandArgs>
getCommandArgs()
List<JPAImplementation>
getCommands()
Realm
getRealm()
boolean
isContinueOnError()
boolean
isSaveExecs()
protected void
json2list(boolean clearFirst)
void
list2json()
void
postLoad()
void
postSave()
void
setContinueOnError(boolean continueOnError)
void
setRealm(Realm realm)
void
setSaveExecs(boolean saveExecs)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.task.JPASchedTask
getCronExpression, getDescription, getJobDelegate, getName, getStartAt, isActive, setActive, setCronExpression, setDescription, setJobDelegate, setName, setStartAt
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.task.SchedTask
getCronExpression, getDescription, getJobDelegate, getName, getStartAt, isActive, setActive, setCronExpression, setDescription, setJobDelegate, setName, setStartAt
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
TYPEREF
protected static final TypeReference<List<CommandArgs>> TYPEREF
-
-
Method Detail
-
add
public void add(Implementation command, CommandArgs args)
-
getCommands
public List<JPAImplementation> getCommands()
- Specified by:
getCommands
in interfaceMacroTask
-
getCommandArgs
public List<CommandArgs> getCommandArgs()
- Specified by:
getCommandArgs
in interfaceMacroTask
-
isContinueOnError
public boolean isContinueOnError()
- Specified by:
isContinueOnError
in interfaceMacroTask
-
setContinueOnError
public void setContinueOnError(boolean continueOnError)
- Specified by:
setContinueOnError
in interfaceMacroTask
-
isSaveExecs
public boolean isSaveExecs()
- Specified by:
isSaveExecs
in interfaceMacroTask
-
setSaveExecs
public void setSaveExecs(boolean saveExecs)
- Specified by:
setSaveExecs
in interfaceMacroTask
-
executionClass
protected Class<? extends TaskExec<SchedTask>> executionClass()
- Overrides:
executionClass
in classJPASchedTask
-
executions
protected List<TaskExec<SchedTask>> executions()
- Overrides:
executions
in classJPASchedTask
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-