Package org.apache.maven.profiles
Class ActivationFile
- java.lang.Object
-
- org.apache.maven.profiles.ActivationFile
-
- All Implemented Interfaces:
java.io.Serializable
public class ActivationFile extends java.lang.Object implements java.io.SerializableThis is the file specification used to activate a profile. The missing value will be a the location of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test for the existence of the file and if it is there will run the profile.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivationFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExists()Get the name of the file that should exist to activate a profile.java.lang.StringgetMissing()Get the name of the file that should be missing to activate a profile.voidsetExists(java.lang.String exists)Set the name of the file that should exist to activate a profile.voidsetMissing(java.lang.String missing)Set the name of the file that should be missing to activate a profile.
-
-
-
Method Detail
-
getExists
public java.lang.String getExists()
Get the name of the file that should exist to activate a profile.- Returns:
- String
-
getMissing
public java.lang.String getMissing()
Get the name of the file that should be missing to activate a profile.- Returns:
- String
-
setExists
public void setExists(java.lang.String exists)
Set the name of the file that should exist to activate a profile.- Parameters:
exists-
-
setMissing
public void setMissing(java.lang.String missing)
Set the name of the file that should be missing to activate a profile.- Parameters:
missing-
-
-