public final class

RemoteTriggerPlugin

extends RemoteCommandPlugin
com.webmbt.plugin.RemoteCommandPlugin
   ↳ com.webmbt.plugin.RemoteTriggerPlugin

Class Overview

Universal plugin works with TestOptimal agents (TOAgent) which calls back to TestOptimal server to retrieve the testing commands and report result from last remote command. These requests are handled by AgentCallbackReq class.

Copyright © 2008 - 2017 TestOptimal LLC. All Rights Reserved.

Summary

Public Methods
void ignoreAllTriggersExcept(String triggerNames_p)
set to ignore all triggers except the triggers specified.
void ignoreTriggers(String triggerNames_p)
request not to send the trigger specified.
void resumeTriggers(String triggerNames_p)
restore sending the trigger specified.
void setStateTriggerFormat(String triggerFormat_p)
changes the state trigger format.
void setSysTriggerFormat(String triggerFormat_p)
changes the system trigger format.
void setTransTriggerFormat(String triggerFormat_p)
changes the transition trigger format.
void setUserTriggerFormat(String triggerFormat_p)
changes the user trigger format.
[Expand]
Inherited Methods
From class com.webmbt.plugin.RemoteCommandPlugin

Public Methods

public void ignoreAllTriggersExcept (String triggerNames_p)

Since: API Level v2

set to ignore all triggers except the triggers specified.

Parameters
triggerNames_p list of trigger namese separated by comma.

public void ignoreTriggers (String triggerNames_p)

Since: API Level v2

request not to send the trigger specified.

public void resumeTriggers (String triggerNames_p)

Since: API Level v2

restore sending the trigger specified. Use comma to separate multiple trigger names.

public void setStateTriggerFormat (String triggerFormat_p)

Since: API Level v2

changes the state trigger format. Default format: [curStateId]_[curTransId]_[TriggerName] use token "[lsuar]" for "[" and "[rsquare]" for "]" to specify the new format.

Parameters
triggerFormat_p mscript expression to format the action for the remote command.

public void setSysTriggerFormat (String triggerFormat_p)

Since: API Level v2

changes the system trigger format. Default format: [TriggerName] use token "[lsuar]" for "[" and "[rsquare]" for "]" to specify the new format.

Parameters
triggerFormat_p mscript expression to format the action for the remote command.

public void setTransTriggerFormat (String triggerFormat_p)

Since: API Level v2

changes the transition trigger format. Default format: [curStateId]_[TriggerName] use token "[lsuar]" for "[" and "[rsquare]" for "]" to specify the new format.

Parameters
triggerFormat_p mscript expression to format the action for the remote command.

public void setUserTriggerFormat (String triggerFormat_p)

Since: API Level v2

changes the user trigger format. Default format: [curStateId]_[curTransId]_[TriggerName] use token "[lsuar]" for "[" and "[rsquare]" for "]" to specify the new format.

Parameters
triggerFormat_p mscript expression to format the action for the remote command.