1 package com.loribel.commons.abstraction;
2
3 import com.loribel.commons.exception.*;
4
5 /***
6 * Abstraction of a task.
7 *
8 * @author Grégory Borelli
9 */
10 public interface GB_Task
11 extends
12 GB_LabelIconOwner
13 {
14 /***
15 * Get the name of the task.
16 *
17 * @return String
18 */
19 String getTaskName();
20
21 /***
22 * Execute the task.
23 */
24 void execute()
25 throws GB_TaskException;
26 }