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

org.fedoraproject.xmvn.config.BuildSettings Maven / Gradle / Ivy

Go to download

This module contains public interface for functionality implemented by XMvn Core.

The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================

package org.fedoraproject.xmvn.config;

/**
 * Basic build settings.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class BuildSettings
    implements java.io.Serializable, java.lang.Cloneable
{

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

    /**
     * Whether detailed debugging information about the build
     * process should be logged.
     */
    private Boolean debug;

    /**
     * Whether compilation and execution of unit and integration
     * tests should be skipped.
     */
    private Boolean skipTests;

    /**
     * Field skippedPlugins.
     */
    private java.util.List skippedPlugins;


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method clone.
     * 
     * @return BuildSettings
     */
    public BuildSettings clone()
    {
        try
        {
            BuildSettings copy = (BuildSettings) super.clone();

            if ( this.skippedPlugins != null )
            {
                copy.skippedPlugins = new java.util.ArrayList();
                for ( Artifact item : this.skippedPlugins )
                {
                    copy.skippedPlugins.add( ( (Artifact) item).clone() );
                }
            }

            return copy;
        }
        catch ( java.lang.Exception ex )
        {
            throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
                + " does not support clone()" ).initCause( ex );
        }
    } //-- BuildSettings clone()

    /**
     * Method getSkippedPlugins.
     * 
     * @return List
     */
    public java.util.List getSkippedPlugins()
    {
        if ( this.skippedPlugins == null )
        {
            this.skippedPlugins = new java.util.ArrayList();
        }

        return this.skippedPlugins;
    } //-- java.util.List getSkippedPlugins()

    /**
     * Get whether detailed debugging information about the build
     * process should be logged.
     * 
     * @return Boolean
     */
    public Boolean isDebug()
    {
        return this.debug;
    } //-- Boolean isDebug()

    /**
     * Get whether compilation and execution of unit and
     * integration tests should be skipped.
     * 
     * @return Boolean
     */
    public Boolean isSkipTests()
    {
        return this.skipTests;
    } //-- Boolean isSkipTests()

    /**
     * Set whether detailed debugging information about the build
     * process should be logged.
     * 
     * @param debug a debug object.
     */
    public void setDebug( Boolean debug )
    {
        this.debug = debug;
    } //-- void setDebug( Boolean )

    /**
     * Set whether compilation and execution of unit and
     * integration tests should be skipped.
     * 
     * @param skipTests a skipTests object.
     */
    public void setSkipTests( Boolean skipTests )
    {
        this.skipTests = skipTests;
    } //-- void setSkipTests( Boolean )

    /**
     * Set list of plugins which will not be executed during build.
     * 
     * @param skippedPlugins a skippedPlugins object.
     */
    public void setSkippedPlugins( java.util.List skippedPlugins )
    {
        this.skippedPlugins = skippedPlugins;
    } //-- void setSkippedPlugins( java.util.List )

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy