|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.shared.dvr.navigation.RecordingListFilter
org.ocap.shared.dvr.navigation.RecordingStateFilter
public class RecordingStateFilter
Filter to filter based on values returned by the getState method in
RecordingRequest
.
Constructor Summary | |
---|---|
RecordingStateFilter(int state)
Constructs the filter based on a particular state type (PENDING, FAILED, etc.). |
Method Summary | |
---|---|
boolean |
accept(RecordingRequest entry)
Tests if the given RecordingRequest passes the filter. |
int |
getFilterValue()
Reports the value of state used to create this filter. |
Methods inherited from class org.ocap.shared.dvr.navigation.RecordingListFilter |
---|
getCascadingFilter, setCascadingFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordingStateFilter(int state)
state
- Value for matching the state of a
RecordingRequest
instance.Method Detail |
---|
public int getFilterValue()
public boolean accept(RecordingRequest entry)
RecordingRequest
passes the filter.
accept
in class RecordingListFilter
entry
- An individual RecordingRequest to be evaluated against
the filtering algorithm.
true
if RecordingRequest
contained
within the RecordingRequest parameter is in the state indicated
by the filter value; false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |