L2JPREMIUM  5M
com.premium.game.manager.TaskManager Class Reference
Collaboration diagram for com.premium.game.manager.TaskManager:

Classes

class  ExecutedTask
 

Public Member Functions

void registerTask (Task task)
 
void startAllTasks ()
 

Static Public Member Functions

static void removeTask (String taskName)
 
static boolean addTask (String task, TaskTypes type, String param1, String param2, String param3)
 
static boolean addTask (String task, TaskTypes type, String param1, String param2, String param3, long lastActivation)
 
static boolean addUniqueTask (String task, TaskTypes type, String param1, String param2, String param3)
 
static boolean addUniqueTask (String task, TaskTypes type, String param1, String param2, String param3, long lastActivation)
 
static TaskManager getInstance ()
 

Protected Attributes

final List< ExecutedTask_currentTasks = new ArrayList<>()
 

Static Protected Attributes

static final Logger _log = Logger.getLogger(TaskManager.class.getName())
 
static final String[] SQL_STATEMENTS
 

Member Data Documentation

◆ SQL_STATEMENTS

final String [] com.premium.game.manager.TaskManager.SQL_STATEMENTS
staticprotected
Initial value:
=
{
"SELECT id, task, type, last_activation, param1, param2, param3 FROM global_tasks",
"UPDATE global_tasks SET last_activation = ? WHERE id = ?",
"SELECT id FROM global_tasks WHERE task = ?",
"INSERT INTO global_tasks (task, type, last_activation, param1, param2, param3) VALUES(?, ?, ?, ?, ?, ?)"
}

The documentation for this class was generated from the following file: