org.ocap.shared.dvr.navigation.AppIDFilter Maven / Gradle / Ivy
package org.ocap.shared.dvr.navigation;
import org.ocap.shared.dvr.RecordingRequest;
import org.dvb.application.AppID;
/**
* Filter to filter based on AppID.
*/
public class AppIDFilter extends RecordingListFilter
{
private AppID appID;
/**
* Constructs the filter based on a particular AppID
.
*
* @param appID AppID value for matching RecordingRequest
s.
*/
public AppIDFilter(AppID appID)
{
}
/**
* Reports the value of AppID
used to create this filter.
*
* @return The value of AppID
used to create this filter.
*/
public AppID getFilterValue()
{
return appID;
}
/**
* Tests if the given RecordingRequest
passes the filter.
*
* @param entry An individual RecordingRequest
to be
* evaluated against the filtering algorithm.
* @return true
if RecordingRequest
is of the type
* indicated by the filter value; false
otherwise.
*/
public boolean accept(RecordingRequest entry)
{
return false;
}
}