// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.11,
// any modifications will be overwritten.
// ==============================================================

package org.apache.maven.settings;

The conditions within the build runtime environment which will trigger the automatic inclusion of the parent build profile.
Version:$Revision$ $Date$
/** * * * The conditions within the build runtime environment * which will trigger * the automatic inclusion of the parent build profile. * * * * @version $Revision$ $Date$ */
@SuppressWarnings( "all" ) public class Activation implements java.io.Serializable, java.lang.Cloneable { //--------------------------/ //- Class/Member Variables -/ //--------------------------/
Flag specifying whether this profile is active as a default.
/** * * Flag specifying whether this profile is active * as a default. * */
private boolean activeByDefault = false;
Specifies that this profile will be activated when a matching JDK is detected.
/** * * * Specifies that this profile will be activated * when a matching JDK is detected. * * */
private String jdk;
Specifies that this profile will be activated when matching OS attributes are detected.
/** * * * Specifies that this profile will be activated * when matching OS attributes are detected. * * */
private ActivationOS os;
Specifies that this profile will be activated when this System property is specified.
/** * * * Specifies that this profile will be activated * when this System property is specified. * * */
private ActivationProperty property;
Specifies that this profile will be activated based on existence of a file.
/** * * * Specifies that this profile will be activated * based on existence of a file. * * */
private ActivationFile file; //-----------/ //- Methods -/ //-----------/
Method clone.
Returns:Activation
/** * Method clone. * * @return Activation */
public Activation clone() { try { Activation copy = (Activation) super.clone(); if ( this.os != null ) { copy.os = (ActivationOS) this.os.clone(); } if ( this.property != null ) { copy.property = (ActivationProperty) this.property.clone(); } if ( this.file != null ) { copy.file = (ActivationFile) this.file.clone(); } return copy; } catch ( java.lang.Exception ex ) { throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() + " does not support clone()" ).initCause( ex ); } } //-- Activation clone()
Get specifies that this profile will be activated based on existence of a file.
Returns:ActivationFile
/** * Get specifies that this profile will be activated based on * existence of a file. * * @return ActivationFile */
public ActivationFile getFile() { return this.file; } //-- ActivationFile getFile()
Get specifies that this profile will be activated when a matching JDK is detected.
Returns:String
/** * Get specifies that this profile will be activated when a * matching JDK is detected. * * @return String */
public String getJdk() { return this.jdk; } //-- String getJdk()
Get specifies that this profile will be activated when matching OS attributes are detected.
Returns:ActivationOS
/** * Get specifies that this profile will be activated when * matching OS attributes are detected. * * @return ActivationOS */
public ActivationOS getOs() { return this.os; } //-- ActivationOS getOs()
Get specifies that this profile will be activated when this System property is specified.
Returns:ActivationProperty
/** * Get specifies that this profile will be activated when this * System property is specified. * * @return ActivationProperty */
public ActivationProperty getProperty() { return this.property; } //-- ActivationProperty getProperty()
Get flag specifying whether this profile is active as a default.
Returns:boolean
/** * Get flag specifying whether this profile is active as a * default. * * @return boolean */
public boolean isActiveByDefault() { return this.activeByDefault; } //-- boolean isActiveByDefault()
Set flag specifying whether this profile is active as a default.
Params:
  • activeByDefault –
/** * Set flag specifying whether this profile is active as a * default. * * @param activeByDefault */
public void setActiveByDefault( boolean activeByDefault ) { this.activeByDefault = activeByDefault; } //-- void setActiveByDefault( boolean )
Set specifies that this profile will be activated based on existence of a file.
Params:
  • file –
/** * Set specifies that this profile will be activated based on * existence of a file. * * @param file */
public void setFile( ActivationFile file ) { this.file = file; } //-- void setFile( ActivationFile )
Set specifies that this profile will be activated when a matching JDK is detected.
Params:
  • jdk –
/** * Set specifies that this profile will be activated when a * matching JDK is detected. * * @param jdk */
public void setJdk( String jdk ) { this.jdk = jdk; } //-- void setJdk( String )
Set specifies that this profile will be activated when matching OS attributes are detected.
Params:
  • os –
/** * Set specifies that this profile will be activated when * matching OS attributes are detected. * * @param os */
public void setOs( ActivationOS os ) { this.os = os; } //-- void setOs( ActivationOS )
Set specifies that this profile will be activated when this System property is specified.
Params:
  • property –
/** * Set specifies that this profile will be activated when this * System property is specified. * * @param property */
public void setProperty( ActivationProperty property ) { this.property = property; } //-- void setProperty( ActivationProperty ) }