Class SpincastCssYuiCompressorPebbleExtensionDefault
java.lang.Object
com.mitchellbosecke.pebble.extension.AbstractExtension
org.spincast.plugins.cssyuicompressor.SpincastCssYuiCompressorPebbleExtensionDefault
- All Implemented Interfaces:
com.mitchellbosecke.pebble.extension.Extension,SpincastCssYuiCompressorPebbleExtension
public class SpincastCssYuiCompressorPebbleExtensionDefault
extends com.mitchellbosecke.pebble.extension.AbstractExtension
implements SpincastCssYuiCompressorPebbleExtension
Pebble extension
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpincastCssYuiCompressorPebbleExtensionDefault(SpincastCssYuiCompressorConfig spincastCssYuiCompressorConfig, SpincastConfig spincastConfig, SpincastUtils spincastUtils, Router<?, ?> router, Server server, HttpClient httpClient, SpincastCssYuiCompressorManager spincastCssYuiCompressorManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected ObjectbundlingDisabledOutput(List<String> cssFilesUrlRelativePaths) protected ObjectbundlingOutput(String path) protected StringgenerateCssBundleName(List<String> cssFilesUrlRelativePaths) protected StringgenerateCssBundleUrlPath(String hash, boolean withCacheBuster) protected FilegetCssBundleFile(String hash) protected StringgetExistingBundleFileHash(File bundleFile) Return the hash used to create the existing bundle oirnullif the bundle doesn't exist.protected HttpClientprotected Router<?,?> protected Serverprotected SpincastConfigprotected SpincastCssYuiCompressorConfigprotected SpincastCssYuiCompressorManagerprotected SpincastUtilsMethods inherited from class com.mitchellbosecke.pebble.extension.AbstractExtension
getAttributeResolver, getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperatorsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mitchellbosecke.pebble.extension.Extension
getAttributeResolver, getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperators
-
Field Details
-
CSS_BUNDLE_FUNCTION_ARG_DISABLE_CACHE_BUSTING
- See Also:
-
CSS_BUNDLE_FUNCTION_ARG_LINE_BREAK_POS
- See Also:
-
HASH_LINE_START
- See Also:
-
HASH_LINE_END
- See Also:
-
-
Constructor Details
-
SpincastCssYuiCompressorPebbleExtensionDefault
@Inject public SpincastCssYuiCompressorPebbleExtensionDefault(SpincastCssYuiCompressorConfig spincastCssYuiCompressorConfig, SpincastConfig spincastConfig, SpincastUtils spincastUtils, Router<?, ?> router, Server server, HttpClient httpClient, SpincastCssYuiCompressorManager spincastCssYuiCompressorManager)
-
-
Method Details
-
getSpincastCssYuiCompressorConfig
-
getSpincastConfig
-
getSpincastUtils
-
getRouter
-
getServer
-
getHttpClient
-
getSpincastCssYuiCompressorManager
-
getFunctions
- Specified by:
getFunctionsin interfacecom.mitchellbosecke.pebble.extension.Extension- Overrides:
getFunctionsin classcom.mitchellbosecke.pebble.extension.AbstractExtension
-
bundlingDisabledOutput
-
bundlingOutput
-
bundleCss
-
getExistingBundleFileHash
Return the hash used to create the existing bundle oirnullif the bundle doesn't exist. -
generateCssBundleName
-
getCssBundleFile
-
generateCssBundleUrlPath
-