|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEscObject
org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.TaskManager
public class TaskManager
| Field Summary | |
|---|---|
static int |
STANDBY
Define the standby (int) constant. |
static int |
STOPPED
Define the stopped (int) constant. |
| Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask |
|---|
ERROR, REPORT, SUCCESS, TIMEOUT |
| Constructor Summary | |
|---|---|
TaskManager(java.lang.String name)
Constructs an instance of this class. |
|
TaskManager(java.lang.String name,
int state)
Constructs an instance of this class from the specified state parameter. |
|
| Method Summary | |
|---|---|
void |
addTaskToBottom(ITask task,
boolean checkDup)
Add task to bottom with the specified task and check dup parameters. |
void |
addTaskToTop(ITask task,
boolean checkDup)
Add task to top with the specified task and check dup parameters. |
boolean |
duplicateTask(ITask task)
Duplicate task with the specified task parameter and return the boolean result. |
java.lang.String |
getTaskName()
Gets the task name (String) value. |
ITask |
getTopTask()
Gets the top task (ITask) value. |
void |
handleResponse(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
Handle response with the specified source, timestamp and data parameters. |
boolean |
isTaskListEmpty()
Gets the task list empty (boolean) value. |
boolean |
launchTask()
Launch task and return the boolean result. |
protected boolean |
launchTopTask()
Launch top task and return the boolean result. |
void |
reset()
Reset. |
void |
taskNotice(java.lang.String taskName,
int status,
java.lang.Object result)
Task notice with the specified task name, status and result parameters. |
| Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask |
|---|
addTaskListener, getState, getTaskListeners, isRemoveListenerRequired, notifyListener, removeTaskListener, removeTaskListenerNoThread, setState, setTaskListeners, startTimer, stopTimer, timeOutOccurred |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STOPPED
public static final int STANDBY
| Constructor Detail |
|---|
public TaskManager(java.lang.String name)
name - The name (String) parameter.TaskManager(String,int)
public TaskManager(java.lang.String name,
int state)
name - The name (String) parameter.state - The state (int) parameter.TaskManager(String)| Method Detail |
|---|
public void addTaskToBottom(ITask task,
boolean checkDup)
task - The task (ITask) parameter.checkDup - The check dup (boolean) parameter.
public void addTaskToTop(ITask task,
boolean checkDup)
task - The task (ITask) parameter.checkDup - The check dup (boolean) parameter.public boolean duplicateTask(ITask task)
duplicateTask in interface ITasktask - The task (ITask) parameter.
boolean) value.getTopTask(),
launchTask(),
launchTopTask()public java.lang.String getTaskName()
getTaskName in interface ITaskString) value.public ITask getTopTask()
ITask) value.launchTopTask()
public void handleResponse(SignalService source,
java.lang.Object timestamp,
java.lang.Object data)
handleResponse in interface ITasksource - The source (SignalService) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.public boolean isTaskListEmpty()
boolean) value.public boolean launchTask()
launchTask in interface ITaskboolean) value.duplicateTask(ITask),
getTopTask(),
launchTopTask()protected boolean launchTopTask()
boolean) value.getTopTask()public void reset()
reset in interface ITaskreset in class AbstractTask
public void taskNotice(java.lang.String taskName,
int status,
java.lang.Object result)
taskNotice in interface ITaskListenertaskName - The task name (String) parameter.status - The status (int) parameter.result - The result (Object) parameter.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||