public class TaskDataSourceObservation extends LocalManualDatasourceObservation implements Destructible, info.magnolia.task.event.TaskEventHandler
DatasourceObservation.Manual
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Perform arbitrary clean-up logic upon component destruction
by the framework.
|
void |
taskAdded(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskArchived(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskClaimed(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskFailed(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskRemoved(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskResolved(info.magnolia.task.event.TaskEvent taskEvent) |
void |
taskScheduled(info.magnolia.task.event.TaskEvent taskEvent) |
register, trigger
public void destroy()
Destructible
Note that Destructible.destroy()
method may be called outside of UI thread, e.g.
when the whole instance of admincentral gets disposed as result of heartbeat
checks. This means that neither Magnolia, nor Vaadin thread locals will be reliably
present upon that method invocation.
destroy
in interface Destructible
public void taskClaimed(info.magnolia.task.event.TaskEvent taskEvent)
taskClaimed
in interface info.magnolia.task.event.TaskEventHandler
public void taskAdded(info.magnolia.task.event.TaskEvent taskEvent)
taskAdded
in interface info.magnolia.task.event.TaskEventHandler
public void taskArchived(info.magnolia.task.event.TaskEvent taskEvent)
taskArchived
in interface info.magnolia.task.event.TaskEventHandler
public void taskResolved(info.magnolia.task.event.TaskEvent taskEvent)
taskResolved
in interface info.magnolia.task.event.TaskEventHandler
public void taskFailed(info.magnolia.task.event.TaskEvent taskEvent)
taskFailed
in interface info.magnolia.task.event.TaskEventHandler
public void taskRemoved(info.magnolia.task.event.TaskEvent taskEvent)
taskRemoved
in interface info.magnolia.task.event.TaskEventHandler
public void taskScheduled(info.magnolia.task.event.TaskEvent taskEvent)
taskScheduled
in interface info.magnolia.task.event.TaskEventHandler
Copyright © 2020 Magnolia International Ltd.. All rights reserved.