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.SerializableClass File.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcontainsCheck the content against this regular expression.private booleanexistsWhen this is set totruethe plugin checks that the file or directory exists.private java.lang.StringlocationLocation 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.StringgetContains()Get check the content against this regular expression.java.lang.StringgetLocation()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(java.lang.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(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 totruethe plugin checks that the file or directory exists. When set tofalseit 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 totruethe plugin checks that the file or directory exists. When set tofalseit 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-
-
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-
-
setLocation
public void setLocation(java.lang.String location)
Set location of the file or directory to check.- Parameters:
location-
-
-