public class InstallerConfig extends Object
Constructor and Description |
---|
InstallerConfig(org.slf4j.Logger logger,
org.apache.sling.installer.provider.jcr.impl.JcrInstaller.Configuration configuration,
org.apache.sling.settings.SlingSettingsService settings) |
Modifier and Type | Method and Description |
---|---|
void |
addWatchedFolder(org.apache.sling.installer.provider.jcr.impl.WatchedFolder toAdd)
Add WatchedFolder to our list if it doesn't exist yet.
|
boolean |
anyWatchFolderNeedsScan() |
List<String> |
checkForRemovedWatchedFolders(javax.jcr.Session session)
Check all WatchedFolder, in case some were deleted
|
List<org.apache.sling.installer.provider.jcr.impl.WatchedFolder> |
cloneWatchedFolders() |
Collection<org.apache.sling.installer.provider.jcr.impl.JcrInstaller.NodeConverter> |
getConverters() |
org.apache.sling.installer.provider.jcr.impl.FolderNameFilter |
getFolderNameFilter() |
int |
getMaxWatchedFolderDepth() |
String |
getNewConfigPath() |
String |
getPauseScanNodePath() |
String[] |
getRoots() |
boolean |
isWriteBack() |
List<org.apache.sling.installer.api.InstallableResource> |
scanWatchedFolders()
Scan watchedFolders and get installable resources
|
public InstallerConfig(org.slf4j.Logger logger, org.apache.sling.installer.provider.jcr.impl.JcrInstaller.Configuration configuration, org.apache.sling.settings.SlingSettingsService settings)
public String[] getRoots()
public org.apache.sling.installer.provider.jcr.impl.FolderNameFilter getFolderNameFilter()
public Collection<org.apache.sling.installer.provider.jcr.impl.JcrInstaller.NodeConverter> getConverters()
public int getMaxWatchedFolderDepth()
public String getPauseScanNodePath()
public boolean isWriteBack()
public String getNewConfigPath()
public List<org.apache.sling.installer.provider.jcr.impl.WatchedFolder> cloneWatchedFolders()
public List<org.apache.sling.installer.api.InstallableResource> scanWatchedFolders() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public List<String> checkForRemovedWatchedFolders(javax.jcr.Session session) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public void addWatchedFolder(org.apache.sling.installer.provider.jcr.impl.WatchedFolder toAdd)
public boolean anyWatchFolderNeedsScan()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.