All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.shared.dvr.navigation.AppIDFilter Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
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 RecordingRequests.
     */
    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;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy