Added in revision 2
public interface

LedEvent

com.datalogic.extension.selfshopping.led.event.LedEvent

Class Overview

Interface exposing the API of a generic LED event.

Summary

Public Methods
abstract void assignLedAction(LedAction action)
Assign a LED action to this event.
abstract void clearAssignedLedAction()
Clears the LED action associated to this event, making it unresponsive.
abstract LedAction getAssignedLedAction()
Retrieves the LED action associated with this event, if it exists.
abstract String getDescription()
Gets the description of this LED event.
abstract int getId()
Gets the ID of this LED event.
abstract String getName()
Gets the name of this LED event.

Public Methods

public abstract void assignLedAction (LedAction action)

Added in revision 2

Assign a LED action to this event.

Parameters
action The LedAction to assign to this event, can be null in case we don't want to associate any action to the LED event.

public abstract void clearAssignedLedAction ()

Added in revision 2

Clears the LED action associated to this event, making it unresponsive.

public abstract LedAction getAssignedLedAction ()

Added in revision 2

Retrieves the LED action associated with this event, if it exists.

Returns
  • The LedAction currently assigned to this event or null in case no action is assigned.

public abstract String getDescription ()

Added in revision 2

Gets the description of this LED event.

Returns
  • String The LED event description.

public abstract int getId ()

Added in revision 2

Gets the ID of this LED event.

Returns
  • int The LED event ID.

public abstract String getName ()

Added in revision 2

Gets the name of this LED event.

Returns
  • String The LED event name.