Interface ComponentFiles
This utility model allows looking up the paths of specific files
from a collection of components, specified as Sling resource types.
- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the option used to specify the regular expression that needs to be matched by files to be collected.static final StringName of the option used to specify if files should be searched up the inheritance chain (using Sling resource supertype).static final booleanDefault value forOPTION_INHERITED.static final StringName of the option used to specify theCollectionof resource types. -
Method Summary
-
Field Details
-
OPTION_RESOURCE_TYPES
Name of the option used to specify theCollectionof resource types.- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0
- See Also:
-
OPTION_FILTER_REGEX
Name of the option used to specify the regular expression that needs to be matched by files to be collected.- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0
- See Also:
-
OPTION_INHERITED
Name of the option used to specify if files should be searched up the inheritance chain (using Sling resource supertype).- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0
- See Also:
-
OPTION_INHERITED_DEFAULT
static final boolean OPTION_INHERITED_DEFAULTDefault value forOPTION_INHERITED.- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0
- See Also:
-
-
Method Details
-
getPaths
Returns a list of paths for files inside the components (specified by the resource types) that match the given filter regex.- Returns:
- List of file paths
- Since:
- com.adobe.cq.wcm.core.components.models 12.14.0
-