You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code proposed came out of the prototype work done with the yank command defined in Utopia, with improved class hierarchy.
Key features:
Kerberus class: is the filter guardian wrapping up anything to do with filtering to be used with the iterator functions
CoreFilter class hierarchy: consists of the base class: CoreFilter, RegexFilter and FlobFilter
FilterDriver: is a wrapper around the CoreFilter and consists of the base class FilterDriver, UnaryFilter designed for single filter scenarios and CompoundFilter for mult-filter scenarios, such as filtering on leaf/child nodes
For compound filters, we need to be able apply mutiple filters with all or any semantics. This is achieved with the CompoundHandler class hierarchy, constisting of AllCompoundHandler and AnyCompoundHandler classes
FilterNode represents the directory presented to Invoke-TraverseDirectory client, ie the client side script block/context. Contains extra information about the directory and a subject that further contains information about the directory segments
FilterStrategy defines the semantics behind the filter scope, eg what is a child node, and what is a leaf node
The CoreFilter can be applied to any part of the directory path and this is denoted by its scope value.
The text was updated successfully, but these errors were encountered:
The code proposed came out of the prototype work done with the yank command defined in Utopia, with improved class hierarchy.
Key features:
Kerberus
class: is the filter guardian wrapping up anything to do with filtering to be used with the iterator functionsCoreFilter
class hierarchy: consists of the base class:CoreFilter
,RegexFilter
andFlobFilter
FilterDriver
: is a wrapper around theCoreFilter
and consists of the base classFilterDriver
,UnaryFilter
designed for single filter scenarios andCompoundFilter
for mult-filter scenarios, such as filtering on leaf/child nodesCompoundHandler
class hierarchy, constisting ofAllCompoundHandler
andAnyCompoundHandler
classesFilterNode
represents the directory presented toInvoke-TraverseDirectory
client, ie the client side script block/context. Contains extra information about the directory and a subject that further contains information about the directory segmentsFilterStrategy
defines the semantics behind the filter scope, eg what is a child node, and what is a leaf nodeThe CoreFilter can be applied to any part of the directory path and this is denoted by its scope value.
The text was updated successfully, but these errors were encountered: