Class AggregatedFolderPathResolver

java.lang.Object
ro.isdc.wro.maven.plugin.support.AggregatedFolderPathResolver

public class AggregatedFolderPathResolver extends Object
Encapsulates the details about computation of aggregated folderPath in maven plugin.
Since:
1.7.2
Author:
Alex Objelean
  • Constructor Details

    • AggregatedFolderPathResolver

      public AggregatedFolderPathResolver()
  • Method Details

    • resolve

      public 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(File cssDestinationFolder)
    • setBuildDirectory

      public AggregatedFolderPathResolver setBuildDirectory(File buildDirectory)
    • setBuildFinalName

      public AggregatedFolderPathResolver setBuildFinalName(File buildFinalName)
    • setDestinationFolder

      public AggregatedFolderPathResolver setDestinationFolder(File destinationFolder)
    • setContextFoldersAsCSV

      public AggregatedFolderPathResolver setContextFoldersAsCSV(String contextFoldersAsCSV)
    • setLog

      public AggregatedFolderPathResolver setLog(org.apache.maven.plugin.logging.Log log)