public abstract class AbstractContentPackageHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
AbstractContentPackageHandler() |
Modifier and Type | Method and 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) |
protected abstract void |
processSubPackage(@NotNull String path,
@Nullable String runMode,
@NotNull org.apache.jackrabbit.vault.packaging.VaultPackage contentPackage,
@NotNull ContentPackage2FeatureModelConverter converter,
boolean isEmbeddedPackage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withConfig
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) throws IOException, ConverterException
IOException
ConverterException
protected abstract void processSubPackage(@NotNull @NotNull String path, @Nullable @Nullable String runMode, @NotNull @NotNull org.apache.jackrabbit.vault.packaging.VaultPackage contentPackage, @NotNull @NotNull ContentPackage2FeatureModelConverter converter, boolean isEmbeddedPackage) throws IOException, ConverterException
IOException
ConverterException
public final boolean matches(@NotNull @NotNull String path)
matches
in interface EntryHandler
@NotNull protected final @NotNull Pattern getPattern()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.