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

Public Member Functions

 PerformanceNotificationNameMatcher (final String name)
 
String getNotificationName ()
 
boolean matches (final OoyalaNotification notification)
 
String getReportName ()
 
boolean matches (OoyalaNotification notification)
 

Constructor & Destructor Documentation

com.ooyala.android.performance.matcher.PerformanceNotificationNameMatcher.PerformanceNotificationNameMatcher ( final String  name)
Parameters
namenon-null.

Member Function Documentation

String com.ooyala.android.performance.matcher.PerformanceNotificationNameMatcher.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.PerformanceNotificationNameMatcher.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.PerformanceNotificationNameMatcher.matches ( final OoyalaNotification  notification)