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

public class Include extends Object implements Serializable

A file or a directory path to add to checksum computation. Relative paths are relative to each module basedir.

Include elements can also be added per project with the use of maven properties.

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get files in a directory are filtered by matching their names against this glob.
    Get path to add to the checksum computation.
    boolean
    Get will search in sub-folders if set to true.
    void
    Set files in a directory are filtered by matching their names against this glob.
    void
    setRecursive(boolean recursive)
    Set will search in sub-folders if set to true.
    void
    Set path to add to the checksum computation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Include

      public Include()
  • Method Details

    • getGlob

      public String getGlob()
      Get files in a directory are filtered by matching their names against this glob.
      Returns:
      String
    • getValue

      public String getValue()
      Get path to add to the checksum computation.
      Returns:
      String
    • isRecursive

      public boolean isRecursive()
      Get will search in sub-folders if set to true.
      Returns:
      boolean
    • setGlob

      public void setGlob(String glob)
      Set files in a directory are filtered by matching their names against this glob.
      Parameters:
      glob - a glob object.
    • setRecursive

      public void setRecursive(boolean recursive)
      Set will search in sub-folders if set to true.
      Parameters:
      recursive - a recursive object.
    • setValue

      public void setValue(String value)
      Set path to add to the checksum computation.
      Parameters:
      value - a value object.