|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUnitPlayer
The Unit player for non-regression testing.
| Field Summary | |
|---|---|
static java.lang.String |
PLAYER_CHANNEL
The string representing the property player channels. |
static java.lang.String |
REPEAT
The string constant related to the repeat property. |
static int |
REPEAT_INFINITE
This player should play the sequence indefinitly. |
static int |
REPEAT_ONCE
This player should play the sequence only once. |
| Method Summary | |
|---|---|
void |
addPlayerChannel(ComponentFile pRecordingChannel)
Adds a new player channel to the list of current playing channels. |
java.util.ArrayList |
getPlayerChannels()
The list of channels on which the messages are being sent. |
int |
getRepeat()
The number of times this unit player must repeat the specified sequence. |
void |
run()
Publishes all the sequenced messages. |
void |
setPlayerChannels(java.util.ArrayList pPlayerChannels)
Sets the channels to which the events are to be sent. |
void |
setRepeat(int pRepeat)
Defines the number of times this player should repeat the sequence. |
| Field Detail |
|---|
static final java.lang.String PLAYER_CHANNEL
static final int REPEAT_ONCE
static final int REPEAT_INFINITE
static final java.lang.String REPEAT
| Method Detail |
|---|
int getRepeat()
void setRepeat(int pRepeat)
throws RaccoonException,
java.lang.IllegalArgumentException
pRepeat - the number of times this player should repeat the sequence, zero for infinite.
RaccoonException - if this component is already running: the component can't be changed.
Error code is ErrorCodes.COMPONENT_INITIALISED
java.lang.IllegalArgumentException - if the parameter is null, the message is obtained via
MsgHelper.formatNullParamter(java.lang.String, java.lang.Class)
void setPlayerChannels(java.util.ArrayList pPlayerChannels)
throws RaccoonException,
java.lang.IllegalArgumentException
pPlayerChannels - the channels.
RaccoonException - if this component is already running: the component can't be changed.
Error code is ErrorCodes.COMPONENT_INITIALISED
java.lang.IllegalArgumentException - if the parameter is null, the message is obtained via
MsgHelper.formatNullParamter(java.lang.String, java.lang.Class)java.util.ArrayList getPlayerChannels()
ArrayList of ComponentFile
void addPlayerChannel(ComponentFile pRecordingChannel)
throws RaccoonException,
java.lang.IllegalArgumentException
pRecordingChannel - the new playing channel to add.
RaccoonException - if this component is already running: the component can't be changed.
Error code is ErrorCodes.COMPONENT_INITIALISED
java.lang.IllegalArgumentException - if the parameter is null, the message is obtained via
MsgHelper.formatNullParamter(java.lang.String, java.lang.Class)
void run()
throws RaccoonException
RaccoonException - if the publication is interrupted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||