2009-10-01 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.helper.task
Class Task_SET_READER_CONFIG

java.lang.Object
  extended by EscObject
      extended by org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
          extended by org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractLLRPTask
              extended by org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractSimpleTask
                  extended by org.eclipse.soda.dk.epcglobal.llrp.helper.task.Task_SET_READER_CONFIG
All Implemented Interfaces:
ITask

public class Task_SET_READER_CONFIG
extends AbstractSimpleTask

Since:
1.0
Version:
1.2.0

Field Summary
static java.lang.String EventsAndReports
          Define the events and reports (String) constant.
static java.lang.String GPIPortCurrentState
          Define the gpiport current state (String) constant.
static java.lang.String GPOWriteData
          Define the gpowrite data (String) constant.
static java.lang.String ReaderEventNotificationSpec
          Define the reader event notification spec (String) constant.
static java.lang.String TASKNAME
          Define the taskname (String) constant.
 
Fields inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
EMPTY_RESULT, listenerLock, timerLock
 
Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.ITask
ABORT, ERROR, REPORT, STATE_RUNNING, STATE_STANDBY, SUCCESS, TIMEOUT
 
Constructor Summary
Task_SET_READER_CONFIG(CommandService command, java.util.Map parameters, SignalService signal, java.lang.String subTaskName)
          Constructs an instance of this class from the specified command, parameters, signal and sub task name parameters.
 
Method Summary
 boolean duplicateTask(ITask task)
          Duplicate task with the specified task parameter and return the boolean result.
 java.lang.String getSubTaskName()
          Gets the sub task name (String) value.
 java.lang.String getTaskName()
          Gets the task name (String) value.
protected  boolean isSameTaskType(ITask task)
          Is same task type with the specified task parameter and return the boolean result.
 void setSubTaskName(java.lang.String subTaskName)
          Sets the sub task name value.
 
Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractSimpleTask
handleResponse
 
Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.task.AbstractLLRPTask
getCommand, getErrorCode, getErrorFields, getParameters, getSignal, isResponseExpected, launchTask, matchResponse, setCommand, setParameters, setSignal, successInLLRPStatus
 
Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.helper.taskmanager.AbstractTask
abort, addTaskListener, getState, getTaskListeners, getTaskManager, getTaskOwner, isRemoveListenerRequired, notifyListener, preNotifyListener, removeTaskListener, removeTaskListenerNoThread, reset, setState, setTaskListeners, setTaskManager, setTaskOwner, start, start, startTimer, stopTimer, timeOutOccurred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASKNAME

public static final java.lang.String TASKNAME
Define the taskname (String) constant.

See Also:
Constant Field Values

GPIPortCurrentState

public static final java.lang.String GPIPortCurrentState
Define the gpiport current state (String) constant.

See Also:
Constant Field Values

GPOWriteData

public static final java.lang.String GPOWriteData
Define the gpowrite data (String) constant.

See Also:
Constant Field Values

ReaderEventNotificationSpec

public static final java.lang.String ReaderEventNotificationSpec
Define the reader event notification spec (String) constant.

See Also:
Constant Field Values

EventsAndReports

public static final java.lang.String EventsAndReports
Define the events and reports (String) constant.

Since:
1.2
See Also:
Constant Field Values
Constructor Detail

Task_SET_READER_CONFIG

public Task_SET_READER_CONFIG(CommandService command,
                              java.util.Map parameters,
                              SignalService signal,
                              java.lang.String subTaskName)
Constructs an instance of this class from the specified command, parameters, signal and sub task name parameters.

Parameters:
command - The command (CommandService) parameter.
parameters - The parameters (Map) parameter.
signal - The signal (SignalService) parameter.
subTaskName - The sub task name (String) parameter.
Method Detail

duplicateTask

public boolean duplicateTask(ITask task)
Duplicate task with the specified task parameter and return the boolean result.

Parameters:
task - The task (ITask) parameter.
Returns:
Results of the duplicate task (boolean) value.
See Also:
ITask.launchTask()

getSubTaskName

public java.lang.String getSubTaskName()
Gets the sub task name (String) value.

Returns:
The sub task name (String) value.
See Also:
setSubTaskName(String)

getTaskName

public java.lang.String getTaskName()
Gets the task name (String) value.

Returns:
The task name (String) value.
See Also:
getSubTaskName(), setSubTaskName(String)

isSameTaskType

protected boolean isSameTaskType(ITask task)
Is same task type with the specified task parameter and return the boolean result.

Specified by:
isSameTaskType in class AbstractLLRPTask
Parameters:
task - The task (ITask) parameter.
Returns:
Results of the is same task type (boolean) value.

setSubTaskName

public void setSubTaskName(java.lang.String subTaskName)
Sets the sub task name value.

Parameters:
subTaskName - The sub task name (String) parameter.
See Also:
getSubTaskName()

2009-10-01 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.