Class 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 Detail

      • DirName

        public DirName()
    • 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.