Class UsersEntryHandler
- java.lang.Object
-
- org.apache.sling.feature.cpconverter.handlers.UsersEntryHandler
-
- All Implemented Interfaces:
EntryHandler
public final class UsersEntryHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description UsersEntryHandler()
UsersEntryHandler(@NotNull String regex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull Pattern
getPattern()
void
handle(@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)
boolean
matches(@NotNull String path)
EntryHandler
withConfig(@NotNull String config)
-
-
-
Constructor Detail
-
UsersEntryHandler
public UsersEntryHandler()
-
UsersEntryHandler
public UsersEntryHandler(@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) throws Exception
- Throws:
Exception
-
matches
public final boolean matches(@NotNull @NotNull String path)
- Specified by:
matches
in interfaceEntryHandler
-
getPattern
@NotNull protected final @NotNull Pattern getPattern()
-
-