Class DirName
java.lang.Object
org.apache.maven.buildcache.xml.config.DirName
- All Implemented Interfaces:
Serializable
Path to a directory containing files which needs to be
saved/restored (relative to the build directory).
Examples :
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGlob()Get entries are filtered by matching this glob.getValue()Get directory name in build output directory to attach to cached artifacts.voidSet entries are filtered by matching this glob.voidSet directory name in build output directory to attach to cached artifacts.
-
Constructor Details
-
DirName
public DirName()
-
-
Method Details
-
getGlob
Get entries are filtered by matching this glob.- Returns:
- String
-
getValue
Get directory name in build output directory to attach to cached artifacts.- Returns:
- String
-
setGlob
Set entries are filtered by matching this glob.- Parameters:
glob- a glob object.
-
setValue
Set directory name in build output directory to attach to cached artifacts.- Parameters:
value- a value object.
-