Package ro.isdc.wro.maven.plugin.support
Class AggregatedFolderPathResolver
- java.lang.Object
-
- ro.isdc.wro.maven.plugin.support.AggregatedFolderPathResolver
-
public class AggregatedFolderPathResolver extends java.lang.ObjectEncapsulates the details about computation of aggregated folderPath in maven plugin.- Since:
- 1.7.2
- Author:
- Alex Objelean
-
-
Constructor Summary
Constructors Constructor Description AggregatedFolderPathResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringresolve()The idea is to compute the aggregatedFolderPath based on a root folder.AggregatedFolderPathResolversetBuildDirectory(java.io.File buildDirectory)AggregatedFolderPathResolversetBuildFinalName(java.io.File buildFinalName)AggregatedFolderPathResolversetContextFoldersAsCSV(java.lang.String contextFoldersAsCSV)AggregatedFolderPathResolversetCssDestinationFolder(java.io.File cssDestinationFolder)AggregatedFolderPathResolversetDestinationFolder(java.io.File destinationFolder)AggregatedFolderPathResolversetLog(org.apache.maven.plugin.logging.Log log)
-
-
-
Method Detail
-
resolve
public java.lang.String 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
public AggregatedFolderPathResolver setCssDestinationFolder(java.io.File cssDestinationFolder)
-
setBuildDirectory
public AggregatedFolderPathResolver setBuildDirectory(java.io.File buildDirectory)
-
setBuildFinalName
public AggregatedFolderPathResolver setBuildFinalName(java.io.File buildFinalName)
-
setDestinationFolder
public AggregatedFolderPathResolver setDestinationFolder(java.io.File destinationFolder)
-
setContextFoldersAsCSV
public AggregatedFolderPathResolver setContextFoldersAsCSV(java.lang.String contextFoldersAsCSV)
-
setLog
public AggregatedFolderPathResolver setLog(org.apache.maven.plugin.logging.Log log)
-
-