org.apache.maven.toolchain.model.ToolchainModel Maven / Gradle / Ivy
/*
* $Id$
*/
package org.apache.maven.toolchain.model;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
import java.util.Date;
/**
* Class ToolchainModel.
*
* @version $Revision$ $Date$
*/
public class ToolchainModel implements java.io.Serializable {
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
*
* Type of toolchain.
*/
private String type;
/**
* Field provides.
*/
private Object provides;
/**
* Field configuration.
*/
private Object configuration;
//-----------/
//- Methods -/
//-----------/
/**
* Get the configuration field.
*
* @return Object
*/
public Object getConfiguration()
{
return this.configuration;
} //-- Object getConfiguration()
/**
* Get the provides field.
*
* @return Object
*/
public Object getProvides()
{
return this.provides;
} //-- Object getProvides()
/**
* Get
* Type of toolchain.
*
* @return String
*/
public String getType()
{
return this.type;
} //-- String getType()
/**
* Set the configuration field.
*
* @param configuration
*/
public void setConfiguration( Object configuration )
{
this.configuration = configuration;
} //-- void setConfiguration( Object )
/**
* Set the provides field.
*
* @param provides
*/
public void setProvides( Object provides )
{
this.provides = provides;
} //-- void setProvides( Object )
/**
* Set
* Type of toolchain.
*
* @param type
*/
public void setType( String type )
{
this.type = type;
} //-- void setType( String )
private String modelEncoding = "UTF-8";
/**
* Set an encoding used for reading/writing the model.
*
* @param modelEncoding the encoding used when reading/writing the model.
*/
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
}
/**
* @return the current encoding used when reading/writing this model.
*/
public String getModelEncoding()
{
return modelEncoding;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy