Package com.basis.api.admin
Interface BBjAdminTaskQueue
- All Superinterfaces:
BBjAdminPropertyReader
,BBjAdminPropertyWriter
,Remote
The task queue is the manager containing all the currently configured task groups on the server.
Use the BBjAdminTaskQueue instance to get a list of the task groups. Please see
BBjAdminTaskGroup
for sample code for using the BBjAdminTaskQueue.-
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
Called to re-write the task queue configurations.getTaskGroup
(String p_idOrName) Returns the task group with the specified ID or name.Returns a list of the task groups on the server.void
load()
Called to re-load the task group configurations from the configuration file.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
-
Method Details
-
getTaskGroups
Returns a list of the task groups on the server.- Returns:
- List of the task groups.
- Throws:
BBjAdminException
-
load
Called to re-load the task group configurations from the configuration file.- Throws:
BBjAdminException
-
commit
Called to re-write the task queue configurations.- Throws:
BBjAdminException
-
getTaskGroup
Returns the task group with the specified ID or name.- Parameters:
p_idOrName
- ID or name of theBBjAdminTaskGroup
to get.- Returns:
- The matching task group or null if no match.
- Throws:
BBjAdminException
-