Package com.adobe.cq.sightly
Class SightlyWCMMode
- java.lang.Object
-
- com.adobe.cq.sightly.SightlyWCMMode
-
@ProviderType public class SightlyWCMMode extends java.lang.Object
TheSightlyWCMModeis a helper class aroundWCMMode, allowing for easier testing of the WCM mode in Sightly scripts. This class is not meant to be extended.
-
-
Constructor Summary
Constructors Constructor Description SightlyWCMMode(SlingHttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAnalytics()booleanisDesign()booleanisDisabled()booleanisEdit()booleanisPreview()booleanisReadOnly()java.lang.StringtoString()
-
-
-
Constructor Detail
-
SightlyWCMMode
public SightlyWCMMode(SlingHttpServletRequest request)
-
-
Method Detail
-
isDisabled
public boolean isDisabled()
-
isPreview
public boolean isPreview()
-
isAnalytics
public boolean isAnalytics()
-
isReadOnly
public boolean isReadOnly()
-
isEdit
public boolean isEdit()
-
isDesign
public boolean isDesign()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-