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 givenroot
. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISnapshotConfigurator.ISnapshotConfiguratorEntry
except(Path path)
Exclude subpath from the snapshot.ISnapshotConfigurator.ISnapshotConfiguratorEntry
exceptRegex(String pattern)
Exclude subpath from the snapshot by regular expression.
-
-
-
Method Detail
-
except
ISnapshotConfigurator.ISnapshotConfiguratorEntry except(Path path)
Exclude subpath from the snapshot.path
is resolved againstroot
.- Parameters:
path
- path to exclude, cannot benull
- Returns:
- this
-
exceptRegex
ISnapshotConfigurator.ISnapshotConfiguratorEntry exceptRegex(String pattern)
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
-
-