Class 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 the checkParameters() method to check if the filter is properly configured and getFilter() to get the actual graph filter.
    Author:
    Christophe Labouisse
    • Constructor Detail

      • FilterType

        public FilterType​(org.apache.tools.ant.Project prj)
        Creates a new filter type.
        Parameters:
        prj - the owner's project.
    • 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.