Package org.apache.maven.model
Class ActivationFile
java.lang.Object
org.apache.maven.model.ActivationFile
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
This is the file specification used to activate the profile. The
 
Variable interpolation for these file specifications is limited to
missing value
         is 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.Variable interpolation for these file specifications is limited to
${project.basedir},
         system properties and user properties.- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.Get the name of the file that must exist to activate the profile.getLocation(Object key) Gets the location of the specified field in the input source.Get the name of the file that must be missing to activate the profile.voidSet the name of the file that must exist to activate the profile.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetMissing(String missing) Set the name of the file that must be missing to activate the profile.voidsetOtherLocation(Object key, InputLocation location) 
- 
Constructor Details- 
ActivationFilepublic ActivationFile()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getExistsGet the name of the file that must exist to activate the profile.- Returns:
- String
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
getMissingGet the name of the file that must be missing to activate the profile.- Returns:
- String
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
setExistsSet the name of the file that must exist to activate the profile.- Parameters:
- exists- a exists object.
 
- 
setMissingSet the name of the file that must be missing to activate the profile.- Parameters:
- missing- a missing object.
 
 
-