Package com.adobe.cq.sightly
Class SightlyWCMMode
- java.lang.Object
-
- com.adobe.cq.sightly.SightlyWCMMode
-
@ProviderType public class SightlyWCMMode extends java.lang.Object
TheSightlyWCMMode
is 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 boolean
isAnalytics()
boolean
isDesign()
boolean
isDisabled()
boolean
isEdit()
boolean
isPreview()
boolean
isReadOnly()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-