org.apache.maven.model.Activation Maven / Gradle / Ivy
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.1.2,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.model;
/**
* The conditions within the build runtime environment which will
* trigger the
* automatic inclusion of the build profile. Multiple
* conditions can be defined, which must
* be all satisfied to activate the profile.
*
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class Activation
implements java.io.Serializable, java.lang.Cloneable, org.apache.maven.model.InputLocationTracker
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* If set to true, this profile will be active unless another
* profile in this
* pom is activated using the command line -P
* option or by one of that profile's
* activators.
*/
private boolean activeByDefault = false;
/**
*
*
* Specifies that this profile will be activated
* when a matching JDK is detected.
* For example, 1.4
only activates on
* JDKs versioned 1.4,
* while !1.4
matches any JDK that is
* not version 1.4. Ranges are supported too:
* [1.5,)
activates when the JDK is
* 1.5 minimum.
*
*
*/
private String jdk;
/**
* Specifies that this profile will be activated when matching
* operating system
* attributes are detected.
*/
private ActivationOS os;
/**
* Specifies that this profile will be activated when this
* property is
* specified.
*/
private ActivationProperty property;
/**
* Specifies that this profile will be activated based on
* existence of a file.
*/
private ActivationFile file;
/**
* Field locations.
*/
private java.util.Map