|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ggtools.grand.tasks.FilterType
public class FilterType
A meta class for graph filters. This class will be instanciated
and configure by Ant and passed to graph task. On execution, the
enclosing task need to call the checkParameters() method
to check if the filter is properly configured and getFilter()
to get the actual graph filter.
| Constructor Summary | |
|---|---|
FilterType(org.apache.tools.ant.Project prj)
Creates a new filter typ. |
|
| Method Summary | |
|---|---|
(package private) void |
checkParameters()
Cheks if the filter parameters are correct. |
GraphFilter |
getFilter()
Return the actual filter after creating it if needed. |
java.lang.String |
getFilterName()
|
void |
setName(java.lang.String name)
Sets the filter's name |
void |
setNode(java.lang.String node)
Sets the filter's node name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterType(org.apache.tools.ant.Project prj)
prj - the owner's project.| Method Detail |
|---|
void checkParameters()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if the parameters are not okpublic GraphFilter getFilter()
public void setName(java.lang.String name)
name - filter's namepublic void setNode(java.lang.String node)
node - node's name.public java.lang.String getFilterName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||