All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shaded.org.apache.maven.model.Site Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.9.1,
// any modifications will be overwritten.
// ==============================================================

package shaded.shaded.org.apache.maven.model;

/**
 * Contains the information needed for deploying websites.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class Site
    implements java.io.Serializable, java.lang.Cloneable, shaded.shaded.org.apache.maven.model.InputLocationTracker
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * 
     *             
     *             A unique identifier for a deployment location.
     * This is used to match the
     *             site to configuration in the
     * settings.xml file, for example.
     *             
     *           
     */
    private String id;

    /**
     * Human readable name of the deployment location.
     */
    private String name;

    /**
     * 
     *             
     *             The url of the location where website is
     * deployed, in the form protocol://hostname/path.
     *             
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property) * * . */ private String url; /** * Field locations. */ private java.util.Map locations; //-----------/ //- Methods -/ //-----------/ /** * Method clone. * * @return Site */ public Site clone() { try { Site copy = (Site) super.clone(); if ( copy.locations != null ) { copy.locations = new java.util.LinkedHashMap( copy.locations ); } return copy; } catch ( java.lang.Exception ex ) { throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() + " does not support clone()" ).initCause( ex ); } } //-- Site clone() /** * Get a unique identifier for a deployment location. This is * used to match the * site to configuration in the * settings.xml file, for example. * * @return String */ public String getId() { return this.id; } //-- String getId() /** * * * @param key * @return InputLocation */ public InputLocation getLocation( Object key ) { return ( locations != null ) ? locations.get( key ) : null; } //-- InputLocation getLocation( Object ) /** * Get human readable name of the deployment location. * * @return String */ public String getName() { return this.name; } //-- String getName() /** * Get the url of the location where website is deployed, in * the form protocol://hostname/path. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @return String */ public String getUrl() { return this.url; } //-- String getUrl() /** * Set a unique identifier for a deployment location. This is * used to match the * site to configuration in the * settings.xml file, for example. * * @param id */ public void setId( String id ) { this.id = id; } //-- void setId( String ) /** * * * @param key * @param location */ public void setLocation( Object key, InputLocation location ) { if ( location != null ) { if ( this.locations == null ) { this.locations = new java.util.LinkedHashMap(); } this.locations.put( key, location ); } } //-- void setLocation( Object, InputLocation ) /** * Set human readable name of the deployment location. * * @param name */ public void setName( String name ) { this.name = name; } //-- void setName( String ) /** * Set the url of the location where website is deployed, in * the form protocol://hostname/path. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @param url */ public void setUrl( String url ) { this.url = url; } //-- void setUrl( String ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy