public class SpincastCssYuiCompressorConfigDefault extends Object implements SpincastCssYuiCompressorConfig
| Constructor and Description |
|---|
SpincastCssYuiCompressorConfigDefault(SpincastConfig spincastConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCssBundlePebbleFunctionName()
The name of the provided Pebble function to
bundle multiple .css files.
|
File |
getCssBundlesDir()
The directory where the generated css bundles
will be saved by the Pebble "cssBundle()" function.
|
String |
getCssBundlesUrlPath()
The relative url path to serve css files
bundled using the Pebble "cssBundle()" function.
|
protected SpincastConfig |
getSpincastConfig() |
boolean |
isCssBundlesIgnoreSslCertificateErrors()
When creating a CSS bundle using the Pebble "cssBundle()" function,
should we ignore SSL certificate errors such as errors
for self-signed certificates when performing the requests to
retrieve the CSS files?
|
@Inject public SpincastCssYuiCompressorConfigDefault(SpincastConfig spincastConfig)
protected SpincastConfig getSpincastConfig()
public String getCssBundlePebbleFunctionName()
SpincastCssYuiCompressorConfigDefaults to "cssBundle".
getCssBundlePebbleFunctionName in interface SpincastCssYuiCompressorConfigpublic String getCssBundlesUrlPath()
SpincastCssYuiCompressorConfig
Defaults to "/spincast/plugins/cssyuicompressor/cssbundles".
getCssBundlesUrlPath in interface SpincastCssYuiCompressorConfigpublic File getCssBundlesDir()
SpincastCssYuiCompressorConfig
Defaults to "[WRITABLE_DIR]/spincast/plugins/cssyuicompressor/cssBundles".
where "[WRITABLE_DIR]" is SpincastConfig.getWritableRootDir().
getCssBundlesDir in interface SpincastCssYuiCompressorConfigpublic boolean isCssBundlesIgnoreSslCertificateErrors()
SpincastCssYuiCompressorConfig
By default, return true if SpincastConfig.isDevelopmentMode()
or SpincastConfig.isTestingMode() are true.
isCssBundlesIgnoreSslCertificateErrors in interface SpincastCssYuiCompressorConfigCopyright © 2019. All rights reserved.