Uses of Class
cz.metacentrum.perun.taskslib.model.Task
Package
Description
-
Uses of Task in cz.metacentrum.perun.controller.model
-
Uses of Task in cz.metacentrum.perun.core.api
Modifier and TypeMethodDescriptionTasksManager.getTask
(PerunSession perunSession, Service service, Facility facility) Find Task for given Service and Facility.TasksManager.getTaskById
(PerunSession perunSession, int id) Retrieve Task given its id.Modifier and TypeMethodDescriptionTasksManager.listAllTasks
(PerunSession perunSession) Retrieve all task results.TasksManager.listAllTasksForFacility
(PerunSession session, int facilityId) Returns all tasks associated with selected facilityTasksManager.listAllTasksInState
(PerunSession perunSession, Task.TaskStatus state) Retrieve all tasks in given stateModifier and TypeMethodDescriptionvoid
TasksManager.deleteTask
(PerunSession sess, Task task) Delete Task and it's TaskResults.void
TasksManager.deleteTaskResults
(PerunSession sess, Task task, Destination destination) Delete all TaskResults related to specified Task and Destination -
Uses of Task in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionTasksManagerBl.getTask
(PerunSession perunSession, Service service, Facility facility) Find propagation task for given service and facility.TasksManagerBl.getTaskById
(PerunSession perunSession, int id) Retrieve task given its id.TasksManagerBl.retrieveRunIdForTask
(PerunSession sess, Task task) Retrieves a new run id for the task propagation.Modifier and TypeMethodDescriptionTasksManagerBl.listAllTasks
(PerunSession perunSession) Retrieve all tasks from DB.TasksManagerBl.listAllTasksForFacility
(PerunSession session, int facilityId) Returns all tasks associated with selected facility.TasksManagerBl.listAllTasksForService
(PerunSession sess, int serviceId) Returns all tasks associated with given service.TasksManagerBl.listAllTasksInState
(PerunSession perunSession, Task.TaskStatus state) Retrieve all tasks in given state.TasksManagerBl.listAllTasksNotInState
(PerunSession sess, Task.TaskStatus state) Retrieve all tasks that are not in given state.Modifier and TypeMethodDescriptionvoid
TasksManagerBl.deleteTask
(PerunSession sess, Task task) Delete Task and it's TaskResults.int
TasksManagerBl.insertTask
(PerunSession sess, Task task) Insert Task into DB.TasksManagerBl.retrieveRunIdForTask
(PerunSession sess, Task task) Retrieves a new run id for the task propagation.void
TasksManagerBl.updateTask
(PerunSession sess, Task task) Update DB record for given task. -
Uses of Task in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionTasksManagerBlImpl.getTask
(PerunSession perunSession, Service service, Facility facility) TasksManagerBlImpl.getTaskById
(PerunSession perunSession, int id) TasksManagerBlImpl.retrieveRunIdForTask
(PerunSession sess, Task task) Modifier and TypeMethodDescriptionTasksManagerBlImpl.listAllTasks
(PerunSession perunSession) TasksManagerBlImpl.listAllTasksForFacility
(PerunSession session, int facilityId) TasksManagerBlImpl.listAllTasksForService
(PerunSession sess, int serviceId) TasksManagerBlImpl.listAllTasksInState
(PerunSession perunSession, Task.TaskStatus state) TasksManagerBlImpl.listAllTasksNotInState
(PerunSession sess, Task.TaskStatus state) Modifier and TypeMethodDescriptionvoid
TasksManagerBlImpl.deleteTask
(PerunSession sess, Task task) int
TasksManagerBlImpl.insertTask
(PerunSession sess, Task task) TasksManagerBlImpl.retrieveRunIdForTask
(PerunSession sess, Task task) void
TasksManagerBlImpl.updateTask
(PerunSession sess, Task task) -
Uses of Task in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionTasksManagerEntry.getTask
(PerunSession perunSession, Service service, Facility facility) TasksManagerEntry.getTaskById
(PerunSession perunSession, int id) Modifier and TypeMethodDescriptionTasksManagerEntry.listAllTasks
(PerunSession perunSession) TasksManagerEntry.listAllTasksForFacility
(PerunSession session, int facilityId) TasksManagerEntry.listAllTasksInState
(PerunSession perunSession, Task.TaskStatus state) Modifier and TypeMethodDescriptionvoid
TasksManagerEntry.deleteTask
(PerunSession sess, Task task) void
TasksManagerEntry.deleteTaskResults
(PerunSession sess, Task task, Destination destination) -
Uses of Task in cz.metacentrum.perun.core.impl
Modifier and TypeMethodDescriptionTasksManagerImpl.getTask
(int serviceId, int facilityId) TasksManagerImpl.getTaskById
(int id) TasksManagerImpl.retrieveRunIdForTask
(Task task) Modifier and TypeMethodDescriptionTasksManagerImpl.listAllTasks()
TasksManagerImpl.listAllTasksForFacility
(int facilityId) TasksManagerImpl.listAllTasksForService
(int serviceId) TasksManagerImpl.listAllTasksInState
(Task.TaskStatus state) TasksManagerImpl.listAllTasksNotInState
(Task.TaskStatus state) Modifier and TypeMethodDescriptionint
TasksManagerImpl.insertTask
(Task task) TasksManagerImpl.retrieveRunIdForTask
(Task task) void
TasksManagerImpl.updateTask
(Task task) -
Uses of Task in cz.metacentrum.perun.core.implApi
Modifier and TypeMethodDescriptionTasksManagerImplApi.getTask
(int serviceId, int facilityId) Retrieve task for given service and facility (by id).Retrieve task for given service and facility.TasksManagerImplApi.getTaskById
(int id) Retrieve task with given id.TasksManagerImplApi.retrieveRunIdForTask
(Task task) Retrieves a new run id for the task propagation.Modifier and TypeMethodDescriptionTasksManagerImplApi.listAllTasks()
Retrieve all tasks from DB.TasksManagerImplApi.listAllTasksForFacility
(int facilityId) Returns all tasks associated with selected facility.TasksManagerImplApi.listAllTasksForService
(int serviceId) Returns all tasks associated with given serviceTasksManagerImplApi.listAllTasksInState
(Task.TaskStatus state) Retrieve all tass in given state.TasksManagerImplApi.listAllTasksNotInState
(Task.TaskStatus state) Retrieve all tasks not in given state.Modifier and TypeMethodDescriptionint
TasksManagerImplApi.insertTask
(Task task) Insert new task into DB.TasksManagerImplApi.retrieveRunIdForTask
(Task task) Retrieves a new run id for the task propagation.void
TasksManagerImplApi.updateTask
(Task task) Update DB record of given task. -
Uses of Task in cz.metacentrum.perun.taskslib.model
Modifier and TypeMethodDescriptionSendTask.getTask()
Get Task associated with this SendTaskTaskSchedule.getTask()
Modifier and TypeMethodDescriptionvoid
Set Task associated with this SendTaskModifierConstructorDescriptionSendTask
(Task task, Destination destination) Create new SendTask for Task and DestinationTaskSchedule
(long delay, Task task) -
Uses of Task in cz.metacentrum.perun.taskslib.service
Modifier and TypeMethodDescriptionAdd Task to TaskStore.TaskStore.getTask
(int id) Get Task by its ID.Get Task by its Facility and Service.TaskStore.removeTask
(int id, int runId) Remove Task from TaskStore by its ID.TaskStore.removeTask
(Task task) Remove Task from TaskStoreModifier and TypeMethodDescriptionTaskStore.getAllTasks()
Get all Tasks present in a TaskStore.TaskStore.getTasksWithStatus
(Task.TaskStatus... status) Get all Tasks which are in any of specified statuses. -
Uses of Task in cz.metacentrum.perun.taskslib.service.impl
Modifier and TypeMethodDescriptionTaskStoreImpl.getTask
(int id) TaskStoreImpl.removeTask
(int id, int runId) TaskStoreImpl.removeTask
(Task task) Modifier and TypeMethodDescriptionTaskStoreImpl.getAllTasks()
TaskStoreImpl.getTasksWithStatus
(Task.TaskStatus... status)