java.lang.Object
org.apache.maven.plugin.verifier.model.File
All Implemented Interfaces:
Serializable

public class File extends Object implements Serializable
Class File.
Version:
$Revision$ $Date$
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    Check the content against this regular expression.
    private boolean
    When this is set to true the plugin checks that the file or directory exists.
    private String
    Location of the file or directory to check.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get check the content against this regular expression.
    Get location of the file or directory to check.
    boolean
    Get when this is set to true the plugin checks that the file or directory exists.
    void
    setContains(String contains)
    Set check the content against this regular expression.
    void
    setExists(boolean exists)
    Set when this is set to true the plugin checks that the file or directory exists.
    void
    setLocation(String location)
    Set location of the file or directory to check.

    Methods inherited from class java.lang.Object

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

    • location

      private String location
      Location of the file or directory to check.
    • contains

      private String contains
      Check the content against this regular expression.
    • exists

      private boolean exists
      When this is set to true the plugin checks that the file or directory exists. When set to false it checks that the file or directory does not exist.
  • Constructor Details

    • File

      public File()
  • Method Details

    • getContains

      public String getContains()
      Get check the content against this regular expression.
      Returns:
      String
    • getLocation

      public String getLocation()
      Get location of the file or directory to check.
      Returns:
      String
    • isExists

      public boolean isExists()
      Get when this is set to true the plugin checks that the file or directory exists. When set to false it checks that the file or directory does not exist.
      Returns:
      boolean
    • setContains

      public void setContains(String contains)
      Set check the content against this regular expression.
      Parameters:
      contains -
    • setExists

      public void setExists(boolean exists)
      Set when this is set to true the plugin checks that the file or directory exists. When set to false it checks that the file or directory does not exist.
      Parameters:
      exists -
    • setLocation

      public void setLocation(String location)
      Set location of the file or directory to check.
      Parameters:
      location -