public class File extends Object implements Serializable
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
String |
getContains()
Get check the content against this regular expression.
|
String |
getLocation()
Get location of the file or directory to check.
|
boolean |
isExists()
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.
|
public String getContains()
public String getLocation()
public boolean isExists()
true
the plugin checks
that the
file or directory exists. When set to
false
it checks
that the file or directory does
not exist.public void setContains(String contains)
contains
- public void setExists(boolean exists)
true
the plugin checks
that the
file or directory exists. When set to
false
it checks
that the file or directory does
not exist.exists
- public void setLocation(String location)
location
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.