org.apache.maven.plugin.tools.model.Component Maven / Gradle / Ivy
/*
* $Id$
*/
package org.apache.maven.plugin.tools.model;
/**
*
* A reference to a plexus component, assumed to be
* available to the plugin container.
*
*
* @version $Revision$ $Date$
*/
public class Component implements java.io.Serializable {
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field role
*/
private String role;
/**
* Field hint
*/
private String hint;
//-----------/
//- Methods -/
//-----------/
/**
* Get The role-hint to lookup.
*/
public String getHint()
{
return this.hint;
} //-- String getHint()
/**
* Get The component role to lookup.
*/
public String getRole()
{
return this.role;
} //-- String getRole()
/**
* Set The role-hint to lookup.
*
* @param hint
*/
public void setHint(String hint)
{
this.hint = hint;
} //-- void setHint(String)
/**
* Set The component role to lookup.
*
* @param role
*/
public void setRole(String role)
{
this.role = role;
} //-- void setRole(String)
private String modelEncoding = "UTF-8";
public void setModelEncoding( String modelEncoding )
{
this.modelEncoding = modelEncoding;
}
public String getModelEncoding()
{
return modelEncoding;
}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy