public class SubFolderPolicy extends Object implements EvaluationPolicy
DocumentQuery to a specified subfolder.| Constructor and Description |
|---|
SubFolderPolicy(String limitSubFolder)
Limits the search to the specified subfolder and its subfolders.
|
SubFolderPolicy(String limitSubFolder,
boolean recursive)
Limits the search to the specified subfolder and optionally its subfolders.
|
public SubFolderPolicy(String limitSubFolder)
Examples: "/subfolder1", "/subfolder1/subfolder2", "/subfolder1//subfolder5"
limitSubFolder - The folder name or path that the query should be limited to.public SubFolderPolicy(String limitSubFolder, boolean recursive)
With recursive set to false the search includes only
documents in the specified subfolder.
Examples: "/subfolder1", "/subfolder1/subfolder2", "/subfolder1//subfolder5"
limitSubFolder - The folder name or path that the query should be limited to.recursive - Specifies if folders below the limited subfolder should be included in the
search.public String getLimitSubFolder()
public boolean isRecursive()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.