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 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)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
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) 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()
-
-