Class IndexDefinitionsEntryHandler
- java.lang.Object
-
- org.apache.sling.feature.cpconverter.handlers.IndexDefinitionsEntryHandler
-
- All Implemented Interfaces:
EntryHandler
public class IndexDefinitionsEntryHandler extends Object
Handler for Jackrabbit Oak index definitionsThis implementation scans content packages for entries stored under
/oak:indexand exposes them to theIndexManagerfor further processing.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description IndexDefinitionsEntryHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringextractTargetRunMode(String path, ContentPackage2FeatureModelConverter converter, String runMode, String runModeMatch)protected @NotNull PatterngetPattern()voidhandle(@NotNull String path, @NotNull org.apache.jackrabbit.vault.fs.io.Archive archive, @NotNull org.apache.jackrabbit.vault.fs.io.Archive.Entry entry, @NotNull ContentPackage2FeatureModelConverter converter, String runMode)booleanmatches(@NotNull String path)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sling.feature.cpconverter.handlers.EntryHandler
handle, withConfig
-
-
-
-
Method Detail
-
handle
public void handle(@NotNull @NotNull String path, @NotNull @NotNull org.apache.jackrabbit.vault.fs.io.Archive archive, @NotNull @NotNull org.apache.jackrabbit.vault.fs.io.Archive.Entry entry, @NotNull @NotNull ContentPackage2FeatureModelConverter converter, String runMode) throws IOException, ConverterException- Throws:
IOExceptionConverterException
-
matches
public final boolean matches(@NotNull @NotNull String path)- Specified by:
matchesin interfaceEntryHandler
-
getPattern
@NotNull protected final @NotNull Pattern getPattern()
-
extractTargetRunMode
protected String extractTargetRunMode(String path, ContentPackage2FeatureModelConverter converter, String runMode, String runModeMatch)
-
-