shaded.org.apache.maven.settings.ActivationProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-cloud-contract-shade Show documentation
Show all versions of spring-cloud-contract-shade Show documentation
Spring Cloud Contract Shaded Dependencies
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.11,
// any modifications will be overwritten.
// ==============================================================
package shaded.shaded.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$
*/
@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.
*
*/
private String name;
/**
*
* The value of the property to be used to activate
* a profile.
*
*/
private String value;
//-----------/
//- Methods -/
//-----------/
/**
* 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.
*
* @return String
*/
public String getName()
{
return this.name;
} //-- String getName()
/**
* 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.
*
* @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.
*
* @param value
*/
public void setValue( String value )
{
this.value = value;
} //-- void setValue( String )
}