All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, SurveyActionService

public class FolderSurveyService extends SurveyActionServiceConnector
FolderSurveyService is a survey action service implementation for analysing the files nested in a folder. The depth of the survey is controlled by the analysisLevel request parameter.
  • The default value is 'TOP_LEVEL_ONLY' which produces summary statistics for the top-level directory only.
  • If it is set to 'ALL_FOLDERS' then there are statistics created for the top level directory, and all subdirectories.
  • If it set to 'TOP_LEVEL_AND_FILES' then statistics are created for the top-level directory and all files that are encountered.
  • Finally, if it is set to 'ALL_FOLDERS_AND_FILES' then statistics are created for all directories and files encountered.
The service also analyses the layout of the files and directories beneath the folder. This is controlled by the layoutAnalysis request parameter.
  • The default value is 'VALIDATE' which checks the folder against its layout standard (a DirectorySchemaType attached to the folder, or shared through a LayoutStandardRule), if it has one.
  • If it is set to 'VALIDATE_OR_PROPOSE' then a folder with no layout standard has a layout proposed for it.
  • If it is set to 'NONE' the layout is not analysed.