Package com.day.cq.wcm.designimporter
Class CanvasBuildOptions
- java.lang.Object
-
- com.day.cq.wcm.designimporter.CanvasBuildOptions
-
public class CanvasBuildOptions extends java.lang.Object
Lets you have fine grained control over how the canvas is built. This options object lets you switch various build functionalities on or off.
-
-
Constructor Summary
Constructors Constructor Description CanvasBuildOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBuildBodyClientCSSLibs()
Indicates whether the body css clientlibs will be built or notboolean
isBuildBodyClientJSLibs()
Indicates whether the body javascript clientlibs will be built or notboolean
isBuildBodyClientLibs()
Indicates whether the body clientlibs will be built or notboolean
isBuildCanvasComponent()
Indicates whether the canvas component will be built or notboolean
isBuildClientLibs()
Indicates whether the body clientlibs will be built or notboolean
isBuildHeadClientCSSLibs()
Indicates whether the head css clientlibs will be built or notboolean
isBuildHeadClientJSLibs()
Indicates whether the head javascript clientlibs will be built or notboolean
isBuildHeadClientLibs()
Indicates whether the head clientlibs will be built or notboolean
isBuildPageNodes()
Indicates whether the canvas component nodes will be built or notvoid
setBuildBodyClientCSSLibs(boolean buildBodyClientCSSLibs)
Lets you control the building of body css clientlibs.void
setBuildBodyClientJSLibs(boolean buildBodyClientJSLibs)
Lets you control the building of body javascript clientlibs.void
setBuildBodyClientLibs(boolean buildBodyClientLibs)
Lets you control the building of clientlibs.void
setBuildCanvasComponent(boolean buildCanvasComponent)
Lets you control the building of the canvas component.void
setBuildClientLibs(boolean buildClientLibs)
Lets you control the building of clientlibs.void
setBuildHeadClientCSSLibs(boolean buildHeadClientCSSLibs)
Lets you control the building of head css clientlibs.void
setBuildHeadClientJSLibs(boolean buildHeadClientJSLibs)
Lets you control the building of head javascript clientlibs.void
setBuildHeadClientLibs(boolean buildHeadClientLibs)
Lets you control the building of clientlibs.void
setBuildPageNodes(boolean buildPageNodes)
Lets you control the building of canvas component nodes.
-
-
-
Method Detail
-
isBuildPageNodes
public boolean isBuildPageNodes()
Indicates whether the canvas component nodes will be built or not- Returns:
- true if the canvas component nodes building is turned on
-
setBuildPageNodes
public void setBuildPageNodes(boolean buildPageNodes)
Lets you control the building of canvas component nodes.- Parameters:
buildPageNodes
- Boolean to turn canvas component building on or off
-
isBuildHeadClientJSLibs
public boolean isBuildHeadClientJSLibs()
Indicates whether the head javascript clientlibs will be built or not- Returns:
- true if the head javascript clientlibs building is turned on
-
setBuildHeadClientJSLibs
public void setBuildHeadClientJSLibs(boolean buildHeadClientJSLibs)
Lets you control the building of head javascript clientlibs.- Parameters:
buildHeadClientJSLibs
- Boolean to turn head javascript clientlibs building on or off
-
isBuildHeadClientCSSLibs
public boolean isBuildHeadClientCSSLibs()
Indicates whether the head css clientlibs will be built or not- Returns:
- true if the head css clientlibs building is turned on
-
setBuildHeadClientCSSLibs
public void setBuildHeadClientCSSLibs(boolean buildHeadClientCSSLibs)
Lets you control the building of head css clientlibs.- Parameters:
buildHeadClientCSSLibs
- Boolean to turn head css clientlibs building on or off
-
isBuildBodyClientJSLibs
public boolean isBuildBodyClientJSLibs()
Indicates whether the body javascript clientlibs will be built or not- Returns:
- true if the body javascript clientlibs building is turned on
-
setBuildBodyClientJSLibs
public void setBuildBodyClientJSLibs(boolean buildBodyClientJSLibs)
Lets you control the building of body javascript clientlibs.- Parameters:
buildBodyClientJSLibs
- Boolean to turn body javascript clientlibs building on or off
-
isBuildBodyClientCSSLibs
public boolean isBuildBodyClientCSSLibs()
Indicates whether the body css clientlibs will be built or not- Returns:
- true if the body css clientlibs building is turned on
-
setBuildBodyClientCSSLibs
public void setBuildBodyClientCSSLibs(boolean buildBodyClientCSSLibs)
Lets you control the building of body css clientlibs.- Parameters:
buildBodyClientCSSLibs
- Boolean to turn body css clientlibs building on or off
-
isBuildCanvasComponent
public boolean isBuildCanvasComponent()
Indicates whether the canvas component will be built or not- Returns:
- true if the canvas component building is turned on
-
setBuildCanvasComponent
public void setBuildCanvasComponent(boolean buildCanvasComponent)
Lets you control the building of the canvas component.- Parameters:
buildCanvasComponent
- Boolean to turn the canvas component building on or off
-
isBuildHeadClientLibs
public boolean isBuildHeadClientLibs()
Indicates whether the head clientlibs will be built or not- Returns:
- true if the head clientlibs building is turned on
-
setBuildHeadClientLibs
public void setBuildHeadClientLibs(boolean buildHeadClientLibs)
Lets you control the building of clientlibs. This is a convenience method for setting head js/css clientlibs flags in one go.- Parameters:
buildHeadClientLibs
- Boolean to turn head clientlibs (both js & css) building on or off
-
isBuildBodyClientLibs
public boolean isBuildBodyClientLibs()
Indicates whether the body clientlibs will be built or not- Returns:
- true if the body clientlibs building is turned on
-
setBuildBodyClientLibs
public void setBuildBodyClientLibs(boolean buildBodyClientLibs)
Lets you control the building of clientlibs. This is a convenience method for setting body js/css clientlibs flags in one go.- Parameters:
buildBodyClientLibs
- Boolean to turn body clientlibs (both js & css) building on or off
-
isBuildClientLibs
public boolean isBuildClientLibs()
Indicates whether the body clientlibs will be built or not- Returns:
- true if the body clientlibs building is turned on
-
setBuildClientLibs
public void setBuildClientLibs(boolean buildClientLibs)
Lets you control the building of clientlibs. This is a convenience method for setting head/body js/css clientlibs flags in one go.- Parameters:
buildClientLibs
- Boolean to turn all clientlibs building on or off
-
-