|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.phleisch.app.itsucks.filter.impl.AbstractJobFilter
de.phleisch.app.itsucks.filter.download.impl.RegExpJobFilter
public class RegExpJobFilter
This filter is very flexible because of it's feature to filter download job attributes by regular expressions.
| Nested Class Summary | |
|---|---|
static class |
RegExpJobFilter.RegExpFilterAction
This class saves the changes which are applied to a filtered job. |
static class |
RegExpJobFilter.RegExpFilterRule
This is a single regular expression rule. |
| Field Summary |
|---|
| Fields inherited from class de.phleisch.app.itsucks.filter.impl.AbstractJobFilter |
|---|
mContext |
| Constructor Summary | |
|---|---|
RegExpJobFilter()
|
|
| Method Summary | |
|---|---|
void |
addFilterRule(RegExpJobFilter.RegExpFilterRule pRule)
Adds an filter rule. |
Job |
filter(Job pJob)
Filters the job. |
java.util.List<RegExpJobFilter.RegExpFilterRule> |
getFilterRules()
Returns a list of all registered filter rules. |
boolean |
isLetUnfilteredJobsPass()
Returns if unfiltered jobs (no rule matches) should let passed. |
void |
removeFilterRule(RegExpJobFilter.RegExpFilterRule pRule)
Removes an filter rule. |
void |
setLetUnfilteredJobsPass(boolean pValue)
Sets if unfiltered jobs (no rule matches) should let passed. |
boolean |
supports(Job pJob)
Asks the Filter if it supports the given job. |
| Methods inherited from class de.phleisch.app.itsucks.filter.impl.AbstractJobFilter |
|---|
getContext, setContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.phleisch.app.itsucks.filter.JobFilter |
|---|
setContext |
| Constructor Detail |
|---|
public RegExpJobFilter()
| Method Detail |
|---|
public Job filter(Job pJob)
throws java.lang.Exception
JobFilter
filter in interface JobFilterjava.lang.Exceptionpublic boolean supports(Job pJob)
JobFilter
supports in interface JobFilterpublic void setLetUnfilteredJobsPass(boolean pValue)
pValue - public boolean isLetUnfilteredJobsPass()
pValue - public void addFilterRule(RegExpJobFilter.RegExpFilterRule pRule)
pRule - public void removeFilterRule(RegExpJobFilter.RegExpFilterRule pRule)
pRule - public java.util.List<RegExpJobFilter.RegExpFilterRule> getFilterRules()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||