Class RegexDependencyResolver

java.lang.Object
org.craftercms.studio.impl.v1.service.dependency.RegexDependencyResolver
All Implemented Interfaces:
DependencyResolver

public class RegexDependencyResolver extends Object implements DependencyResolver
  • Field Details

  • Constructor Details

    • RegexDependencyResolver

      public RegexDependencyResolver()
  • Method Details

    • resolve

      public Map<String,Set<String>> resolve(String site, String path)
      Description copied from interface: DependencyResolver
      Resolves dependent files for given content of given path
      Specified by:
      resolve in interface DependencyResolver
      Parameters:
      site - site identifier
      path - path of the item
      Returns:
      set of paths of files that content is dependant on
    • getConfigFileName

      public String getConfigFileName()
    • getDefaultConfigPath

      public String getDefaultConfigPath()
    • getDefaultConfigFileName

      public String getDefaultConfigFileName()
    • getContentService

      public ContentService getContentService()
    • setContentService

      public void setContentService(ContentService contentService)
    • getStudioConfiguration

      public StudioConfiguration getStudioConfiguration()
    • setStudioConfiguration

      public void setStudioConfiguration(StudioConfiguration studioConfiguration)
    • getConfigurationService

      public ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)