Class File
java.lang.Object
org.apache.maven.plugin.verifier.model.File
- All Implemented Interfaces:
Serializable
Class File.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet check the content against this regular expression.Get location of the file or directory to check.boolean
isExists()
Get when this is set totrue
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 totrue
the plugin checks that the file or directory exists.void
setLocation
(String location) Set location of the file or directory to check.
-
Field Details
-
location
Location of the file or directory to check. -
contains
Check the content against this regular expression. -
exists
private boolean existsWhen this is set totrue
the plugin checks that the file or directory exists. When set tofalse
it checks that the file or directory does not exist.
-
-
Constructor Details
-
File
public File()
-
-
Method Details
-
getContains
Get check the content against this regular expression.- Returns:
- String
-
getLocation
Get location of the file or directory to check.- Returns:
- String
-
isExists
public boolean isExists()Get when this is set totrue
the plugin checks that the file or directory exists. When set tofalse
it checks that the file or directory does not exist.- Returns:
- boolean
-
setContains
Set check the content against this regular expression.- Parameters:
contains
-
-
setExists
public void setExists(boolean exists) Set when this is set totrue
the plugin checks that the file or directory exists. When set tofalse
it checks that the file or directory does not exist.- Parameters:
exists
-
-
setLocation
Set location of the file or directory to check.- Parameters:
location
-
-