Interface ISnapshotConfigurator.ISnapshotConfiguratorEntry
- Enclosing interface:
- ISnapshotConfigurator
public static interface ISnapshotConfigurator.ISnapshotConfiguratorEntry
Snapshot configurator entry.
Snapshot configurator entry is created by ISnapshotConfigurator.include(Path root) for the given root.
It allows to exclude some files or folders under the root from snapshot.
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionExclude subpath from the snapshot.exceptRegex(String pattern) Exclude subpath from the snapshot by regular expression.
-
Method Details
-
except
Exclude subpath from the snapshot.pathis resolved againstroot.- Parameters:
path- path to exclude, cannot benull- Returns:
- this
-
exceptRegex
Exclude subpath from the snapshot by regular expression. Paths relative to root will be matched against the pattern.- Parameters:
pattern- pattern to exclude, cannot benull- Returns:
- this
-