Class DistributionExportFilter.TreeFilter

  • Enclosing class:
    DistributionExportFilter

    public static class DistributionExportFilter.TreeFilter
    extends java.lang.Object
    a filter is responsible for finding the resources that should be serialized unders a certain path
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeFilter​(java.lang.String path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addDeepInclude​(java.lang.String path)  
      void addExclude​(java.lang.String path)  
      void addInclude​(java.lang.String path)  
      @NotNull java.lang.String getPath()  
      boolean matches​(java.lang.String path)
      check whether a resource with a certain path should be included in the serialized output
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TreeFilter

        public TreeFilter​(java.lang.String path)
    • Method Detail

      • addInclude

        public void addInclude​(java.lang.String path)
      • addDeepInclude

        public void addDeepInclude​(java.lang.String path)
      • addExclude

        public void addExclude​(java.lang.String path)
      • getPath

        @NotNull
        public @NotNull java.lang.String getPath()
      • matches

        public boolean matches​(java.lang.String path)
        check whether a resource with a certain path should be included in the serialized output
        Parameters:
        path - a path
        Returns:
        true if the path mathces the filter, false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object