Class BindingContext
- java.lang.Object
-
- de.valtech.aecu.core.groovy.console.bindings.impl.BindingContext
-
public class BindingContext extends Object
Context for binding.- Author:
- Roland Gruber
-
-
Constructor Summary
Constructors Constructor Description BindingContext(org.apache.sling.api.resource.ResourceResolver resolver)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.day.cq.wcm.api.PageManagergetPageManager()Returns the page manager.com.day.cq.replication.ReplicatorgetReplicator()Returns the page replicator.com.day.cq.contentsync.handler.util.RequestResponseFactorygetRequestResponseFactory()Returns the request response factory.org.apache.sling.api.resource.ResourceResolvergetResolver()Returns the resource resolver.org.apache.sling.engine.SlingRequestProcessorgetSlingRequestProcessor()Returns the Sling request processor.com.day.cq.tagging.TagManagergetTagManager()Returns the tag manager.booleanisDryRun()Returns if this is a dry run.voidsetDryRun(boolean dryRun)Sets the dry run mode.
-
-
-
Method Detail
-
getResolver
public org.apache.sling.api.resource.ResourceResolver getResolver()
Returns the resource resolver.- Returns:
- resolver
-
getPageManager
public com.day.cq.wcm.api.PageManager getPageManager()
Returns the page manager.- Returns:
- page manager
-
getTagManager
public com.day.cq.tagging.TagManager getTagManager()
Returns the tag manager.- Returns:
- tag manager
-
getReplicator
public com.day.cq.replication.Replicator getReplicator()
Returns the page replicator.- Returns:
- replicator
-
getRequestResponseFactory
public com.day.cq.contentsync.handler.util.RequestResponseFactory getRequestResponseFactory()
Returns the request response factory.- Returns:
- request response factory
-
getSlingRequestProcessor
public org.apache.sling.engine.SlingRequestProcessor getSlingRequestProcessor()
Returns the Sling request processor.- Returns:
- Sling request processor
-
isDryRun
public boolean isDryRun()
Returns if this is a dry run.- Returns:
- dry run
-
setDryRun
public void setDryRun(boolean dryRun)
Sets the dry run mode.- Parameters:
dryRun- dry run
-
-