com.ooyala.android.performance.matcher.PerformanceNotificationNameStateMatcher Class Reference
Inheritance diagram for com.ooyala.android.performance.matcher.PerformanceNotificationNameStateMatcher:
com.ooyala.android.performance.matcher.PerformanceEventMatcherInterface

Public Member Functions

 PerformanceNotificationNameStateMatcher (final String name, final OoyalaPlayer.State state)
 
String getNotificationName ()
 
boolean matches (final OoyalaNotification notification)
 
String getReportName ()
 
boolean matches (OoyalaNotification notification)
 

Constructor & Destructor Documentation

com.ooyala.android.performance.matcher.PerformanceNotificationNameStateMatcher.PerformanceNotificationNameStateMatcher ( final String  name,
final OoyalaPlayer.State  state 
)
Parameters
namenon-null.

Member Function Documentation

String com.ooyala.android.performance.matcher.PerformanceNotificationNameStateMatcher.getNotificationName ( )
Returns
the notification name this matcher will successfully match against.
See also
matches(OoyalaNotification)

Implements com.ooyala.android.performance.matcher.PerformanceEventMatcherInterface.

String com.ooyala.android.performance.matcher.PerformanceNotificationNameStateMatcher.getReportName ( )
Returns
a string identifying this matcher for use in pretty printing performnace reports.

Implements com.ooyala.android.performance.matcher.PerformanceEventMatcherInterface.

boolean com.ooyala.android.performance.matcher.PerformanceEventMatcherInterface.matches ( OoyalaNotification  notification)
inherited
Parameters
notificationnon-null.
Returns
true if the given notification's name matches our registered notification name.
See also
getNotificationName()
boolean com.ooyala.android.performance.matcher.PerformanceNotificationNameStateMatcher.matches ( final OoyalaNotification  notification)