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.booleanisExists()Get when this is set totruethe plugin checks that the file or directory exists.voidsetContains(String contains) Set check the content against this regular expression.voidsetExists(boolean exists) Set when this is set totruethe plugin checks that the file or directory exists.voidsetLocation(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 totruethe plugin checks that the file or directory exists. When set tofalseit 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 totruethe plugin checks that the file or directory exists. When set tofalseit checks that the file or directory does not exist.- Returns:
- boolean
-
setContains
Set check the content against this regular expression.- Parameters:
contains- a contains object.
-
setExists
public void setExists(boolean exists) Set when this is set totruethe plugin checks that the file or directory exists. When set tofalseit checks that the file or directory does not exist.- Parameters:
exists- a exists object.
-
setLocation
Set location of the file or directory to check.- Parameters:
location- a location object.
-