Class ConfigurationEntryHandler
java.lang.Object
org.apache.sling.feature.cpconverter.handlers.ConfigurationEntryHandler
- All Implemented Interfaces:
EntryHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
extractTargetRunMode
(String path, ContentPackage2FeatureModelConverter converter, String runMode, String runModeMatch) protected final @NotNull Pattern
final 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, String runMode) final boolean
protected @NotNull Dictionary<String,
Object> parseConfiguration
(@NotNull String name, @NotNull InputStream input) 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
-
Field Details
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
ConfigurationEntryHandler
public ConfigurationEntryHandler()
-
-
Method Details
-
parseConfiguration
@NotNull protected @NotNull Dictionary<String,Object> parseConfiguration(@NotNull @NotNull String name, @NotNull @NotNull InputStream input) throws IOException, ConverterException - Throws:
IOException
ConverterException
-
handle
public final 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:
IOException
ConverterException
-
matches
- Specified by:
matches
in interfaceEntryHandler
-
getPattern
-
extractTargetRunMode
protected String extractTargetRunMode(String path, ContentPackage2FeatureModelConverter converter, String runMode, String runModeMatch)
-