Class ExtractAssetDependencyProcessor
- java.lang.Object
-
- org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
-
- org.craftercms.studio.impl.v1.content.pipeline.PathMatchProcessor
-
- org.craftercms.studio.impl.v1.content.pipeline.ExtractAssetDependencyProcessor
-
- All Implemented Interfaces:
ContentProcessor
public class ExtractAssetDependencyProcessor extends PathMatchProcessor
-
-
Field Summary
Fields Modifier and Type Field Description protected DependencyService
dependencyService
static String
NAME
protected ServicesConfig
servicesConfig
-
Fields inherited from class org.craftercms.studio.impl.v1.content.pipeline.PathMatchProcessor
_matchPaths, _unmatchPaths
-
Fields inherited from class org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
_name
-
-
Constructor Summary
Constructors Constructor Description ExtractAssetDependencyProcessor()
default constructorExtractAssetDependencyProcessor(String name)
constructor that sets the process name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependencyService
getDependencyService()
ServicesConfig
getServicesConfig()
void
process(PipelineContent content, ResultTO result)
process the content at the given path.void
setDependencyService(DependencyService dependencyService)
void
setServicesConfig(ServicesConfig servicesConfig)
-
Methods inherited from class org.craftercms.studio.impl.v1.content.pipeline.PathMatchProcessor
isProcessable, setMatchPaths, setUnmatchPaths
-
Methods inherited from class org.craftercms.studio.impl.v1.content.pipeline.BaseContentProcessor
checkForMandatoryParam, getName, setName
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
servicesConfig
protected ServicesConfig servicesConfig
-
dependencyService
protected DependencyService dependencyService
-
-
Constructor Detail
-
ExtractAssetDependencyProcessor
public ExtractAssetDependencyProcessor()
default constructor
-
ExtractAssetDependencyProcessor
public ExtractAssetDependencyProcessor(String name)
constructor that sets the process name- Parameters:
name
-
-
-
Method Detail
-
process
public void process(PipelineContent content, ResultTO result) throws ContentProcessException
Description copied from interface:ContentProcessor
process the content at the given path.- Specified by:
process
in interfaceContentProcessor
- Overrides:
process
in classBaseContentProcessor
- Parameters:
content
- content to processresult
- result to return- Throws:
ContentProcessException
-
getServicesConfig
public ServicesConfig getServicesConfig()
-
setServicesConfig
public void setServicesConfig(ServicesConfig servicesConfig)
-
getDependencyService
public DependencyService getDependencyService()
-
setDependencyService
public void setDependencyService(DependencyService dependencyService)
-
-