org.codehaus.cargo.maven2.MergeRoot Maven / Gradle / Ivy
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.7,
// any modifications will be overwritten.
// ==============================================================
package org.codehaus.cargo.maven2;
/**
* Root element of the merge xml.
*
* @version $Revision$ $Date$
*/
public class MergeRoot
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field wars.
*/
private java.util.List/**/ wars;
/**
* Field merges.
*/
private java.util.List/**/ merges;
/**
* Field webXml.
*/
private WebXml webXml;
/**
* Field modelEncoding.
*/
private String modelEncoding = "UTF-8";
//-----------/
//- Methods -/
//-----------/
/**
* Method addMerge.
*
* @param merge
*/
public void addMerge( Merge merge )
{
getMerges().add( merge );
} //-- void addMerge( Merge )
/**
* Method addWar.
*
* @param string
*/
public void addWar( String string )
{
getWars().add( string );
} //-- void addWar( String )
/**
* Method getMerges.
*
* @return List
*/
public java.util.List/**/ getMerges()
{
if ( this.merges == null )
{
this.merges = new java.util.ArrayList/**/();
}
return this.merges;
} //-- java.util.List/**/ getMerges()
/**
* Get the modelEncoding field.
*
* @return String
*/
public String getModelEncoding()
{
return this.modelEncoding;
} //-- String getModelEncoding()
/**
* Method getWars.
*
* @return List
*/
public java.util.List/**/ getWars()
{
if ( this.wars == null )
{
this.wars = new java.util.ArrayList/**/();
}
return this.wars;
} //-- java.util.List/**/ getWars()
/**
* Get the webXml field.
*
* @return WebXml
*/
public WebXml getWebXml()
{
return this.webXml;
} //-- WebXml getWebXml()
/**
* Method removeMerge.
*
* @param merge
*/
public void removeMerge( Merge merge )
{
getMerges().remove( merge );
} //-- void removeMerge( Merge )
/**
* Method removeWar.
*
* @param string
*/
public void removeWar( String string )
{
getWars().remove( string );
} //-- void removeWar( String )
/**
* Set merge settings.
*
* @param merges
*/
public void setMerges( java.util.List/**/ merges )
{
this.merges = merges;
} //-- void setMerges( java.util.List )
/**
* Set the modelEncoding field.
*
* @param modelEncoding
*/
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
} //-- void setModelEncoding( String )
/**
* Set war Files to merge.
*
* @param wars
*/
public void setWars( java.util.List/**/ wars )
{
this.wars = wars;
} //-- void setWars( java.util.List )
/**
* Set the webXml field.
*
* @param webXml
*/
public void setWebXml( WebXml webXml )
{
this.webXml = webXml;
} //-- void setWebXml( WebXml )
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy