public class RegexDependencyResolver extends Object implements DependencyResolver
Modifier and Type | Field and Description |
---|---|
protected ConfigurationService |
configurationService |
protected ContentService |
contentService |
protected StudioConfiguration |
studioConfiguration |
XML_CONFIGURATION_DEPENDENCY_TYPE, XML_CONFIGURATION_DEPENDENCY_TYPES, XML_CONFIGURATION_FIND_REGEX, XML_CONFIGURATION_INCLUDES, XML_CONFIGURATION_ITEM_TYPE, XML_CONFIGURATION_MATCH, XML_CONFIGURATION_NAME, XML_CONFIGURATION_PATH_PATTERN, XML_CONFIGURATION_PATTERN, XML_CONFIGURATION_REPLACE, XML_CONFIGURATION_ROOT_ELEMENT, XML_CONFIGURATION_TRANSFORM, XML_CONFIGURATION_TRANSFORMS
Constructor and Description |
---|
RegexDependencyResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getConfigFileName() |
ConfigurationService |
getConfigurationService() |
ContentService |
getContentService() |
String |
getDefaultConfigFileName() |
String |
getDefaultConfigPath() |
StudioConfiguration |
getStudioConfiguration() |
Map<String,Set<String>> |
resolve(String site,
String path)
Resolves dependent files for given content of given path
|
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setContentService(ContentService contentService) |
void |
setStudioConfiguration(StudioConfiguration studioConfiguration) |
protected ContentService contentService
protected StudioConfiguration studioConfiguration
protected ConfigurationService configurationService
public Map<String,Set<String>> resolve(String site, String path)
DependencyResolver
resolve
in interface DependencyResolver
public String getConfigFileName()
public String getDefaultConfigPath()
public String getDefaultConfigFileName()
public ContentService getContentService()
public void setContentService(ContentService contentService)
public StudioConfiguration getStudioConfiguration()
public void setStudioConfiguration(StudioConfiguration studioConfiguration)
public ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2020 CrafterCMS. All rights reserved.