org.apache.maven.plugin.verifier.model
Class File

java.lang.Object
  extended by org.apache.maven.plugin.verifier.model.File
All Implemented Interfaces:
Serializable

public class File
extends Object
implements Serializable

Class File.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
File()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File()
Method Detail

getContains

public String getContains()
Get check the content against this regular expression.

Returns:
String

getLocation

public String getLocation()
Get location of the file or directory to check.

Returns:
String

isExists

public boolean isExists()
Get when this is set to true the plugin checks that the file or directory exists. When set to false it checks that the file or directory does not exist.

Returns:
boolean

setContains

public void setContains(String contains)
Set check the content against this regular expression.

Parameters:
contains -

setExists

public void setExists(boolean exists)
Set when this is set to true the plugin checks that the file or directory exists. When set to false it checks that the file or directory does not exist.

Parameters:
exists -

setLocation

public void setLocation(String location)
Set location of the file or directory to check.

Parameters:
location -


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.