org.apache.maven.model
Class ActivationFile

java.lang.Object
  extended by org.apache.maven.model.ActivationFile
All Implemented Interfaces:
java.io.Serializable

public class ActivationFile
extends java.lang.Object
implements java.io.Serializable

This is the file specification used to activate the profile. The missing value will be the location of a file that needs to exist, and if it doesn't the profile will be activated. On the other hand exists will test for the existence of the file and if it is there the profile will be activated.

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

Field Summary
private  java.lang.String exists
          The name of the file that must exist to activate the profile.
private  java.lang.String missing
          The name of the file that must be missing to activate the profile.
 
Constructor Summary
ActivationFile()
           
 
Method Summary
 java.lang.String getExists()
          Get the name of the file that must exist to activate the profile.
 java.lang.String getMissing()
          Get the name of the file that must be missing to activate the profile.
 void setExists(java.lang.String exists)
          Set the name of the file that must exist to activate the profile.
 void setMissing(java.lang.String missing)
          Set the name of the file that must be missing to activate the profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

missing

private java.lang.String missing
The name of the file that must be missing to activate the profile.


exists

private java.lang.String exists
The name of the file that must exist to activate the profile.

Constructor Detail

ActivationFile

public ActivationFile()
Method Detail

getExists

public java.lang.String getExists()
Get the name of the file that must exist to activate the profile.

Returns:
String

getMissing

public java.lang.String getMissing()
Get the name of the file that must be missing to activate the profile.

Returns:
String

setExists

public void setExists(java.lang.String exists)
Set the name of the file that must exist to activate the profile.

Parameters:
exists -

setMissing

public void setMissing(java.lang.String missing)
Set the name of the file that must be missing to activate the profile.

Parameters:
missing -