Class GroupEntryHandler
- java.lang.Object
-
- org.apache.sling.feature.cpconverter.handlers.GroupEntryHandler
-
- All Implemented Interfaces:
EntryHandler
public final class GroupEntryHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description GroupEntryHandler()GroupEntryHandler(@NotNull String regex)
-
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)EntryHandlerwithConfig(@NotNull String config)-
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
-
-
-
-
Constructor Detail
-
GroupEntryHandler
public GroupEntryHandler()
-
GroupEntryHandler
public GroupEntryHandler(@NotNull @NotNull String regex)
-
-
Method Detail
-
withConfig
public EntryHandler withConfig(@NotNull @NotNull String config)
-
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)
-
-