Package ro.isdc.wro.maven.plugin.support
Class AggregatedFolderPathResolver
java.lang.Object
ro.isdc.wro.maven.plugin.support.AggregatedFolderPathResolver
Encapsulates the details about computation of aggregated folderPath in maven plugin.
- Since:
- 1.7.2
- Author:
- Alex Objelean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve()The idea is to compute the aggregatedFolderPath based on a root folder.setBuildDirectory(File buildDirectory) setBuildFinalName(File buildFinalName) setContextFoldersAsCSV(String contextFoldersAsCSV) setCssDestinationFolder(File cssDestinationFolder) setDestinationFolder(File destinationFolder) setLog(org.apache.maven.plugin.logging.Log log)
-
Constructor Details
-
AggregatedFolderPathResolver
public AggregatedFolderPathResolver()
-
-
Method Details
-
resolve
The idea is to compute the aggregatedFolderPath based on a root folder. The root folder is determined by comparing the cssTargetFolder (the folder where aggregated css files are located) with build directory or contextFolder. If rootFolder is null, then the result is also null (equivalent to using the cssTargetFolder the same as the root folder.- Returns:
- the aggregated folder path, based on the cssDestinationFolder (if set) and the build folder or the contextFolder.
-
setCssDestinationFolder
-
setBuildDirectory
-
setBuildFinalName
-
setDestinationFolder
-
setContextFoldersAsCSV
-
setLog
-