org.codehaus.plexus.components.secdispatcher.model.SettingsSecurity Maven / Gradle / Ivy
The newest version!
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 2.4.0,
// any modifications will be overwritten.
// ==============================================================
package org.codehaus.plexus.components.secdispatcher.model;
/**
* Class SettingsSecurity.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class SettingsSecurity
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* The version of the model.
*/
private String modelVersion;
/**
* The default dispatcher to be used when no dispatcher name
* provided.
*/
private String defaultDispatcher;
/**
* Field configurations.
*/
private java.util.List configurations;
/**
* Field modelEncoding.
*/
private String modelEncoding = "UTF-8";
//-----------/
//- Methods -/
//-----------/
/**
* Method addConfiguration.
*
* @param config a config object.
*/
public void addConfiguration( Config config )
{
getConfigurations().add( config );
} //-- void addConfiguration( Config )
/**
* Method getConfigurations.
*
* @return List
*/
public java.util.List getConfigurations()
{
if ( this.configurations == null )
{
this.configurations = new java.util.ArrayList();
}
return this.configurations;
} //-- java.util.List getConfigurations()
/**
* Get the default dispatcher to be used when no dispatcher
* name provided.
*
* @return String
*/
public String getDefaultDispatcher()
{
return this.defaultDispatcher;
} //-- String getDefaultDispatcher()
/**
* Get the modelEncoding field.
*
* @return String
*/
public String getModelEncoding()
{
return this.modelEncoding;
} //-- String getModelEncoding()
/**
* Get the version of the model.
*
* @return String
*/
public String getModelVersion()
{
return this.modelVersion;
} //-- String getModelVersion()
/**
* Method removeConfiguration.
*
* @param config a config object.
*/
public void removeConfiguration( Config config )
{
getConfigurations().remove( config );
} //-- void removeConfiguration( Config )
/**
* Set optional named Dispatcher configurations.
*
* @param configurations a configurations object.
*/
public void setConfigurations( java.util.List configurations )
{
this.configurations = configurations;
} //-- void setConfigurations( java.util.List )
/**
* Set the default dispatcher to be used when no dispatcher
* name provided.
*
* @param defaultDispatcher a defaultDispatcher object.
*/
public void setDefaultDispatcher( String defaultDispatcher )
{
this.defaultDispatcher = defaultDispatcher;
} //-- void setDefaultDispatcher( String )
/**
* Set the modelEncoding field.
*
* @param modelEncoding a modelEncoding object.
*/
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
} //-- void setModelEncoding( String )
/**
* Set the version of the model.
*
* @param modelVersion a modelVersion object.
*/
public void setModelVersion( String modelVersion )
{
this.modelVersion = modelVersion;
} //-- void setModelVersion( String )
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy