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

package org.apache.maven.settings;

This is the property specification used to activate a profile. If the value field is empty, then the existence of the named property will activate the profile, otherwise it does a case-sensitive match against the property value as well.
Version:$Revision$ $Date$
/** * * * This is the property specification used to activate a * profile. If the value field is empty, * then the existence of the named property will activate * the profile, otherwise it does a case-sensitive * match against the property value as well. * * * * @version $Revision$ $Date$ */
@SuppressWarnings( "all" ) public class ActivationProperty implements java.io.Serializable, java.lang.Cloneable { //--------------------------/ //- Class/Member Variables -/ //--------------------------/
The name of the property to be used to activate a profile.
/** * * The name of the property to be used to activate * a profile. * */
private String name;
The value of the property to be used to activate a profile.
/** * * The value of the property to be used to activate * a profile. * */
private String value; //-----------/ //- Methods -/ //-----------/
Method clone.
Returns:ActivationProperty
/** * Method clone. * * @return ActivationProperty */
public ActivationProperty clone() { try { ActivationProperty copy = (ActivationProperty) super.clone(); return copy; } catch ( java.lang.Exception ex ) { throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() + " does not support clone()" ).initCause( ex ); } } //-- ActivationProperty clone()
Get the name of the property to be used to activate a profile.
Returns:String
/** * Get the name of the property to be used to activate a * profile. * * @return String */
public String getName() { return this.name; } //-- String getName()
Get the value of the property to be used to activate a profile.
Returns:String
/** * Get the value of the property to be used to activate a * profile. * * @return String */
public String getValue() { return this.value; } //-- String getValue()
Set the name of the property to be used to activate a profile.
Params:
  • name –
/** * Set the name of the property to be used to activate a * profile. * * @param name */
public void setName( String name ) { this.name = name; } //-- void setName( String )
Set the value of the property to be used to activate a profile.
Params:
  • value –
/** * Set the value of the property to be used to activate a * profile. * * @param value */
public void setValue( String value ) { this.value = value; } //-- void setValue( String ) }