Class Ignored
- java.lang.Object
-
- org.apache.jackrabbit.vault.vlt.meta.Ignored
-
- All Implemented Interfaces:
Dumpable,Filter,PathFilter
public class Ignored extends Object implements PathFilter
Ignored...
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILE_NAME-
Fields inherited from interface org.apache.jackrabbit.vault.fs.api.PathFilter
ALL, NONE
-
-
Constructor Summary
Constructors Constructor Description Ignored(VltContext ctx, File scanRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(@NotNull DumpContext ctx, boolean isLast)Dumps some human readable information using the given context.List<PathFilter>getIgnored()booleanisAbsolute()Checks if the pattern is absolute, i.e. does not start with a wildcard.booleanmatches(@NotNull String path)Checks if the given path matches this filters criteria.Ignoredscan(File dir)@NotNull PathFiltertranslate(@Nullable PathMapping mapping)Translates this path filter with the given mapping.
-
-
-
Field Detail
-
FILE_NAME
public static final String FILE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Ignored
public Ignored(VltContext ctx, File scanRoot)
-
-
Method Detail
-
getIgnored
public List<PathFilter> getIgnored()
-
matches
public boolean matches(@NotNull @NotNull String path)Description copied from interface:PathFilterChecks if the given path matches this filters criteria.- Specified by:
matchesin interfacePathFilter- Parameters:
path- the path to check- Returns:
trueif this filter matches the criteria;falseotherwise.
-
scan
public Ignored scan(File dir) throws VltException, IOException, ConfigurationException
-
isAbsolute
public boolean isAbsolute()
Description copied from interface:PathFilterChecks if the pattern is absolute, i.e. does not start with a wildcard.- Specified by:
isAbsolutein interfacePathFilter- Returns:
trueif pattern is absolute
-
dump
public void dump(@NotNull @NotNull DumpContext ctx, boolean isLast)Description copied from interface:DumpableDumps some human readable information using the given context.
-
translate
@NotNull public @NotNull PathFilter translate(@Nullable @Nullable PathMapping mapping)
Description copied from interface:PathFilterTranslates this path filter with the given mapping. Note that only absolute filters can be translated.- Specified by:
translatein interfacePathFilter- Parameters:
mapping- the mapping to apply- Returns:
- the new filter
-
-