com.tibbo.aggregate.common.action

## Class TreeMask

- java.lang.Object
- - com.tibbo.aggregate.common.action.TreeMask

- All Implemented Interfaces:
    ResourceMask<TreeMask>

      public class TreeMask
      extends java.lang.Object
      implements ResourceMask<TreeMask>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static char` | `SEPARATOR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TreeMask()`
    `TreeMask(java.lang.String mask)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `includes(TreeMask resourceMask)` True if this Resource mask includes the given one some way.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### SEPARATOR

          public static final char SEPARATOR

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### TreeMask

          public TreeMask()

    - #### TreeMask

          public TreeMask(java.lang.String mask)

  - ### Method Detail

    - #### includes

          public boolean includes(TreeMask resourceMask)

      Description copied from interface: `ResourceMask`
      True if this Resource mask includes the given one some way. In case of hierarchical resources such as directories and files, class tree this method will determine if the given file belongs to a folder described by this mask or if the given class is a child of one described by this resource mask.
      Specified by:
        `includes` in interface `ResourceMask<TreeMask>`

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`