Package net.ggtools.grand.tasks
Class FilterType
- java.lang.Object
-
- net.ggtools.grand.tasks.FilterType
-
public class FilterType extends Object
A meta class for graph filters. This class will be instantiated and configure by Ant and passed to graph task. On execution, the enclosing task need to call thecheckParameters()
method to check if the filter is properly configured andgetFilter()
to get the actual graph filter.- Author:
- Christophe Labouisse
-
-
Constructor Summary
Constructors Constructor Description FilterType(org.apache.tools.ant.Project prj)
Creates a new filter type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphFilter
getFilter()
Return the actual filter after creating it if needed.String
getFilterName()
void
setName(String name)
Sets the filter's name.void
setNode(String node)
Sets the filter's node name.
-
-
-
Method Detail
-
getFilter
public final GraphFilter getFilter()
Return the actual filter after creating it if needed.- Returns:
- the actual filter.
-
setName
public final void setName(String name)
Sets the filter's name.- Parameters:
name
- filter's name
-
setNode
public final void setNode(String node)
Sets the filter's node name.- Parameters:
node
- node's name.
-
getFilterName
public final String getFilterName()
- Returns:
- Returns the filterName.
-
-