org.ocap.shared.dvr.navigation
Class AppIDFilter
java.lang.Object
org.ocap.shared.dvr.navigation.RecordingListFilter
org.ocap.shared.dvr.navigation.AppIDFilter
public class AppIDFilter
- extends RecordingListFilter
Filter to filter based on AppID.
Constructor Summary |
AppIDFilter(AppID appID)
Constructs the filter based on a particular AppID . |
AppIDFilter
public AppIDFilter(AppID appID)
- Constructs the filter based on a particular
AppID
.
- Parameters:
appID
- AppID value for matching RecordingRequest
s.
getFilterValue
public AppID getFilterValue()
- Reports the value of
AppID
used to create this filter.
- Returns:
- The value of
AppID
used to create this filter.
accept
public boolean accept(RecordingRequest entry)
- Tests if the given
RecordingRequest
passes the filter.
- Specified by:
accept
in class RecordingListFilter
- Parameters:
entry
- An individual RecordingRequest
to be
evaluated against the filtering algorithm.
- Returns:
true
if RecordingRequest
is of the type
indicated by the filter value; false
otherwise.