Class NodeTypesEntryHandler
- java.lang.Object
-
- org.apache.sling.feature.cpconverter.handlers.NodeTypesEntryHandler
-
- All Implemented Interfaces:
EntryHandler
public class NodeTypesEntryHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description NodeTypesEntryHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringextractTargetRunMode(String path, ContentPackage2FeatureModelConverter converter, String runMode, String runModeMatch)static NodeTypesEntryHandlerforCndPattern(@NotNull Pattern pattern)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
-
forCndPattern
public static NodeTypesEntryHandler forCndPattern(@NotNull @NotNull Pattern pattern)
-
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)
-
-