Package com.adobe.cq.contentinsight
Class ActivityResourceVisitor
- java.lang.Object
-
- org.apache.sling.api.resource.AbstractResourceVisitor
-
- com.adobe.cq.contentinsight.ActivityResourceVisitor
-
public class ActivityResourceVisitor extends AbstractResourceVisitor
An resource visitor that collects all activities (formerly campaigns) that have been published to Adobe Target.
-
-
Constructor Summary
Constructors Constructor Description ActivityResourceVisitor(java.lang.String pagePath, TargetedContentManager targetedContentManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Resource>
getActivityResources()
Return the list of collected activity resources.-
Methods inherited from class org.apache.sling.api.resource.AbstractResourceVisitor
accept
-
-
-
-
Constructor Detail
-
ActivityResourceVisitor
public ActivityResourceVisitor(java.lang.String pagePath, TargetedContentManager targetedContentManager)
-
-
Method Detail
-
getActivityResources
public java.util.List<Resource> getActivityResources()
Return the list of collected activity resources. This list is empty whenAbstractResourceVisitor.accept(Resource)
has not been called before.- Returns:
- List of activity resources
-
-