java.lang.Object
org.apache.maven.buildcache.xml.config.DirName
All Implemented Interfaces:
Serializable

public class DirName extends Object implements Serializable
Path to a directory containing files which needs to be saved/restored (relative to the build directory).
Examples :
  • <dirName>classes</dirName> : files in ${project.basedir}/target/classes
  • <dirName glob="jacoco.xml"></dirName> : jacoco report files in ${project.basedir}/target
  • <dirName>../src/main/javagen</dirName> : files in ${project.basedir}/src/main/javagen (in this example, javagen is a folder saved in git but erased on clean)


Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • DirName

      public DirName()
  • Method Details

    • getGlob

      public String getGlob()
      Get entries are filtered by matching this glob.
      Returns:
      String
    • getValue

      public String getValue()
      Get directory name in build output directory to attach to cached artifacts.
      Returns:
      String
    • setGlob

      public void setGlob(String glob)
      Set entries are filtered by matching this glob.
      Parameters:
      glob - a glob object.
    • setValue

      public void setValue(String value)
      Set directory name in build output directory to attach to cached artifacts.
      Parameters:
      value - a value object.