Class DirName
- 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 exemple, javagen is a folder saved in git but erased on clean)
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGlob()
Get entries are filtered by matching this glob.String
getValue()
Get directory name in build output directory to attach to cached artifacts.void
setGlob(String glob)
Set entries are filtered by matching this glob.void
setValue(String value)
Set directory name in build output directory to attach to cached artifacts.
-
-
-
Method Detail
-
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.
-
-