Class LocalDirectorySearchWithTimestampConstraints

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<AbstractFileSystemSearchlet>, SizeOfHandler, Stoppable, FlowContextHandler, Serializable

    public class LocalDirectorySearchWithTimestampConstraints
    extends LocalDirectorySearch
    Searches only for directories.
    Allows to further restrict the search using a timestamp window ('last modified') that the directories must satisfy.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -directory <> (property: directory)
        The directory to search for directories.
        default: ${CWD}
    -max-items <int> (property: maxItems)
        The maximum number of dirs to return (<= 0 is unlimited).
        default: -1
    -regexp <adams.core.base.BaseRegExp> (property: regExp)
        The regular expression that the dirs must match (empty string matches all
    -sorting <NO_SORTING|SORT_BY_NAME|SORT_BY_LAST_MODIFIED> (property: sorting)
        The type of sorting to perform.
        default: NO_SORTING
    -descending <boolean> (property: sortDescending)
        If set to true, the directories are sorted in descending manner.
        default: false
    -recursive <boolean> (property: recursive)
        Whether to search recursively or not.
        default: false
    -max-depth <int> (property: maxDepth)
        The maximum depth to search in recursive mode (1 = only search directory,
         -1 = infinite).
        default: -1
    -min-timestamp <adams.core.base.BaseDateTime> (property: minTimestamp)
        The minimum 'last modified' timestamp that the directories can have.
        default: -INF
    -max-timestamp <adams.core.base.BaseDateTime> (property: maxTimestamp)
        The maximum 'last modified' timestamp that the directories can have.
        default: +INF
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • LocalDirectorySearchWithTimestampConstraints

        public LocalDirectorySearchWithTimestampConstraints()