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

shaded.org.apache.maven.model.Scm 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;

/**
 * 
 *         
 *         The <scm> element contains
 * informations required to the SCM
 *         (Source Control Management) of the project.
 *         
 *       
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class Scm
    implements java.io.Serializable, java.lang.Cloneable, shaded.shaded.org.apache.maven.model.InputLocationTracker
{

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

    /**
     * 
     *             
     *             The source control management system URL
     *             that describes the repository and how to connect
     * to the
     *             repository. For more information, see the
     *             URL
     * format
     *             and list
     * of supported SCMs.
     *             This connection is read-only.
     *             
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property) * * . */ private String connection; /** * * * Just like connection, but for * developers, i.e. this scm connection * will not be read only. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property) * * . */ private String developerConnection; /** * The tag of current code. By default, it's set to HEAD during * development. */ private String tag = "HEAD"; /** * * * The URL to the project's browsable SCM * repository, such as ViewVC or Fisheye. *
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 Scm */ public Scm clone() { try { Scm copy = (Scm) 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 ); } } //-- Scm clone() /** * Get the source control management system URL * that describes the repository and how to connect * to the * repository. For more information, see the * URL * format * and list * of supported SCMs. * This connection is read-only. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @return String */ public String getConnection() { return this.connection; } //-- String getConnection() /** * Get just like connection, but for developers, * i.e. this scm connection * will not be read only. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @return String */ public String getDeveloperConnection() { return this.developerConnection; } //-- String getDeveloperConnection() /** * * * @param key * @return InputLocation */ public InputLocation getLocation( Object key ) { return ( locations != null ) ? locations.get( key ) : null; } //-- InputLocation getLocation( Object ) /** * Get the tag of current code. By default, it's set to HEAD * during development. * * @return String */ public String getTag() { return this.tag; } //-- String getTag() /** * Get the URL to the project's browsable SCM repository, such * as ViewVC or Fisheye. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @return String */ public String getUrl() { return this.url; } //-- String getUrl() /** * Set the source control management system URL * that describes the repository and how to connect * to the * repository. For more information, see the * URL * format * and list * of supported SCMs. * This connection is read-only. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @param connection */ public void setConnection( String connection ) { this.connection = connection; } //-- void setConnection( String ) /** * Set just like connection, but for developers, * i.e. this scm connection * will not be read only. *
Default value is: parent value [+ * path adjustment] + (artifactId or * project.directory property). * * @param developerConnection */ public void setDeveloperConnection( String developerConnection ) { this.developerConnection = developerConnection; } //-- void setDeveloperConnection( 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 the tag of current code. By default, it's set to HEAD * during development. * * @param tag */ public void setTag( String tag ) { this.tag = tag; } //-- void setTag( String ) /** * Set the URL to the project's browsable SCM repository, such * as ViewVC or Fisheye. *
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