Class RegexDependencyResolver
java.lang.Object
org.craftercms.studio.impl.v1.service.dependency.RegexDependencyResolver
- All Implemented Interfaces:
DependencyResolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConfigurationService
protected ContentService
protected StudioConfiguration
Fields inherited from interface org.craftercms.studio.api.v1.service.dependency.DependencyResolver
XML_CONFIGURATION_DEPENDENCY_TYPE, XML_CONFIGURATION_DEPENDENCY_TYPES, XML_CONFIGURATION_EXCLUDES, 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_SPLIT, XML_CONFIGURATION_TRANSFORM, XML_CONFIGURATION_TRANSFORMS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionResolves dependent files for given content of given pathvoid
setConfigurationService
(ConfigurationService configurationService) void
setContentService
(ContentService contentService) void
setStudioConfiguration
(StudioConfiguration studioConfiguration)
-
Field Details
-
contentService
-
studioConfiguration
-
configurationService
-
-
Constructor Details
-
RegexDependencyResolver
public RegexDependencyResolver()
-
-
Method Details
-
resolve
Description copied from interface:DependencyResolver
Resolves dependent files for given content of given path- Specified by:
resolve
in interfaceDependencyResolver
- Parameters:
site
- site identifierpath
- path of the item- Returns:
- set of paths of files that content is dependant on
-
getConfigFileName
-
getDefaultConfigPath
-
getDefaultConfigFileName
-
getContentService
-
setContentService
-
getStudioConfiguration
-
setStudioConfiguration
-
getConfigurationService
-
setConfigurationService
-