|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cesilko.rachota.core.filters.AbstractTaskFilter
public abstract class AbstractTaskFilter
Abstract task filter forwarding all provided tasks. Can't be instantiated because of its empty implementation.
| Constructor Summary | |
|---|---|
AbstractTaskFilter(int contentRule,
java.lang.String content)
Default filter constructor. |
|
| Method Summary | |
|---|---|
java.util.Vector |
filterTasks(java.util.Vector tasks)
Applies filter on given tasks and returns those tasks that satisfied filter criterion. |
java.lang.String |
getContent()
Returns required content of appropriate task property. |
int |
getContentRule()
Returns content rule of filter. |
java.util.Vector |
getContentRules()
Returns all available content rules of filter. |
java.util.Vector |
getContentValues()
Returns all available content values of filter. |
void |
setContent(java.lang.String content)
Sets required content of appropriate task property. |
void |
setContentRule(int contentRule)
Sets content rule of filter. |
java.lang.String |
toString()
Returns name of filter as text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTaskFilter(int contentRule,
java.lang.String content)
contentRule - One of content rules determining allowed content.content - Required content that must comply with content rule.| Method Detail |
|---|
public void setContentRule(int contentRule)
contentRule - New content rule.public void setContent(java.lang.String content)
content - New required content of appropriate task property.public int getContentRule()
public java.util.Vector getContentRules()
public java.lang.String getContent()
public java.util.Vector getContentValues()
public java.util.Vector filterTasks(java.util.Vector tasks)
tasks - Vector of tasks to be filtered.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||