org.fedoraproject.xmvn.config.InstallerSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmvn-api Show documentation
Show all versions of xmvn-api Show documentation
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;
/**
* XMvn settings related to installation of artifacts.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class InstallerSettings
implements java.io.Serializable, java.lang.Cloneable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Whether additional debugging information about artifact
* nstallation should be printed.
*/
private Boolean debug;
/**
* Directory into which XMvn metadata files are be installed.
*/
private String metadataDir;
//-----------/
//- Methods -/
//-----------/
/**
* Method clone.
*
* @return InstallerSettings
*/
public InstallerSettings clone()
{
try
{
InstallerSettings copy = (InstallerSettings) 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 );
}
} //-- InstallerSettings clone()
/**
* Get directory into which XMvn metadata files are be
* installed.
*
* @return String
*/
public String getMetadataDir()
{
return this.metadataDir;
} //-- String getMetadataDir()
/**
* Get whether additional debugging information about artifact
* nstallation should be printed.
*
* @return Boolean
*/
public Boolean isDebug()
{
return this.debug;
} //-- Boolean isDebug()
/**
* Set whether additional debugging information about artifact
* nstallation should be printed.
*
* @param debug a debug object.
*/
public void setDebug( Boolean debug )
{
this.debug = debug;
} //-- void setDebug( Boolean )
/**
* Set directory into which XMvn metadata files are be
* installed.
*
* @param metadataDir a metadataDir object.
*/
public void setMetadataDir( String metadataDir )
{
this.metadataDir = metadataDir;
} //-- void setMetadataDir( String )
}