Class File
- java.lang.Object
-
- org.apache.maven.plugin.verifier.model.File
-
- All Implemented Interfaces:
java.io.Serializable
public class File extends java.lang.Object implements java.io.Serializable
Class File.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
contains
Check the content against this regular expression.private boolean
exists
When this is set totrue
the plugin checks that the file or directory exists.private java.lang.String
location
Location of the file or directory to check.
-
Constructor Summary
Constructors Constructor Description File()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContains()
Get check the content against this regular expression.java.lang.String
getLocation()
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(java.lang.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(java.lang.String location)
Set location of the file or directory to check.
-
-
-
Field Detail
-
location
private java.lang.String location
Location of the file or directory to check.
-
contains
private java.lang.String contains
Check the content against this regular expression.
-
exists
private boolean exists
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.
-
-
Method Detail
-
getContains
public java.lang.String getContains()
Get check the content against this regular expression.- Returns:
- String
-
getLocation
public java.lang.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
public void setContains(java.lang.String contains)
Set check the content against this regular expression.- Parameters:
contains
- a contains object.
-
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
- a exists object.
-
setLocation
public void setLocation(java.lang.String location)
Set location of the file or directory to check.- Parameters:
location
- a location object.
-
-