Package com.basis.api.admin
Interface BBjAdminReplicationTaskGroup
- All Superinterfaces:
BBjAdminPropertyReader
,BBjAdminPropertyWriter
,Remote
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
Call this method to execute the scheduled task and its items if it is the appropriate time according to its configuration.getJob()
Returns the replication job associated with this task group.Returns a human readable description of the scheduling for this group.getTasks()
Returns a list of tasks within this group.Creates a new instance of a task but does NOT add it to the list of tasks.void
setJob
(BBjAdminReplicationJob p_job) Sets the replication job associated with this task group.void
setTasks
(BBjAdminList<BBjAdminReplicationTask> p_tasks) Methods inherited from interface com.basis.api.admin.BBjAdminPropertyReader
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
Methods inherited from interface com.basis.api.admin.BBjAdminPropertyWriter
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
-
Field Details
-
REPLICATION_JOB_ID
- See Also:
-
NAME
- See Also:
-
DAY_OF_WEEK
- See Also:
-
TIME
- See Also:
-
DATE
- See Also:
-
DAY_OF_MONTH
- See Also:
-
-
Method Details
-
executeIfAppropriate
Call this method to execute the scheduled task and its items if it is the appropriate time according to its configuration. If it was time and it executed it returns true. Otherwise returns false.- Throws:
BBjAdminException
-
getTasks
BBjAdminList<BBjAdminReplicationTask> getTasks()Returns a list of tasks within this group. When you execute the group, all of its tasks will be executed in the order they appear in the group.- Returns:
- List of the tasks in this group.
-
setTasks
-
getSchedulingDescription
Returns a human readable description of the scheduling for this group. If it is a date, it will show the date and time. If a day of the week, the name of the day of the week. Etc.....- Throws:
BBjAdminException
-
newTask
Creates a new instance of a task but does NOT add it to the list of tasks.- Throws:
BBjAdminException
-
getJob
BBjAdminReplicationJob getJob()Returns the replication job associated with this task group. -
setJob
Sets the replication job associated with this task group.- Parameters:
p_job
-- Throws:
BBjAdminException
-